SMAHR00900_결과판정출력[종합건진].xrw 95 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHR00900.xrw
  4. * 설 명 : 결과지출력
  5. * 설 계 자 : 손주연
  6. * 작 성 자 : 손주연
  7. * 작 성 일 : 2007.08.13
  8. * 수정이력 : 결과지출력추가 - 김다영(2007.10.17)
  9. 결과지 출력 수정-조두현(2007.12.20)
  10. * 기 타 :
  11. -->
  12. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  13. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  14. <xhtml:head>
  15. <xhtml:title>결과지출력</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <main>
  20. <contlst>
  21. <item>
  22. <sel/>
  23. <cmpynm/>
  24. <condd/>
  25. <contype/>
  26. <cmpycd/>
  27. <conseq/>
  28. <conhistseq/>
  29. <healexamflag/>
  30. </item>
  31. </contlst>
  32. <prntoptinfo>
  33. <prntflag>paper</prntflag>
  34. <prntsize>01</prntsize>
  35. </prntoptinfo>
  36. <detlinfo>
  37. <srchpid/>
  38. <srchpnm/>
  39. <prntpatlst>
  40. <item>
  41. <sel/>
  42. <prntyn/>
  43. <endyn/>
  44. <pid/>
  45. <hngnm/>
  46. <rgstno/>
  47. <orddd/>
  48. <statflag/>
  49. <pkgcd/>
  50. <cmpynm/>
  51. <deptnm/>
  52. <healexamflag/>
  53. <rsrvdd/>
  54. <rsrvno/>
  55. <assorsltcnts/>
  56. <detladdr/>
  57. <prntyn/>
  58. <prnttims/>
  59. <prntrid/>
  60. <prnttm/>
  61. <judgdrnm/>
  62. <sexage/>
  63. <ajcreatdd/>
  64. </item>
  65. </prntpatlst>
  66. </detlinfo>
  67. <info>
  68. <patinfo>
  69. <item>
  70. <pid/>
  71. <rgstno1/>
  72. <rgstno2/>
  73. <hngnm/>
  74. <engnm/>
  75. <sex/>
  76. <age/>
  77. <brthdd/>
  78. <zipcd1/>
  79. <zipcd2/>
  80. <addr/>
  81. <detladdr1/>
  82. <mpphon/>
  83. <telno/>
  84. <emailid/>
  85. <emailtype/>
  86. <healexampid/>
  87. <emailkind/>
  88. <zipcd21/>
  89. <zipcd22/>
  90. <addr2/>
  91. <detladdr2/>
  92. <psptno/>
  93. <brthareacnts/>
  94. <pidcretfg/>
  95. <zipcdseq1/>
  96. <zipcdseq2/>
  97. <clntgrde/>
  98. <patremcnts/>
  99. <notice/>
  100. </item>
  101. </patinfo>
  102. </info>
  103. <fstrsltinfo>
  104. <itemasso/>
  105. <itemjudg/>
  106. </fstrsltinfo>
  107. </main>
  108. <main1>
  109. <titleinfo>
  110. <cdid/>
  111. <cdnm/>
  112. <cmt/>
  113. </titleinfo>
  114. </main1>
  115. <send>
  116. <srchfromdd/>
  117. <srchtodd/>
  118. <srchhealexamflag/>
  119. <srchpid/>
  120. <srchpnm/>
  121. <srchcmpycd/>
  122. <srchcmpynm/>
  123. <srchinstcd/>
  124. <srchcond/>
  125. <srchcontinfo/>
  126. <srchcmpynm2/>
  127. <srchcmpyyn/>
  128. <srchrsrvdd/>
  129. <srchrsrvno/>
  130. <srchlangflag/>
  131. <srchorddd/>
  132. <srchhealexamdetlflag/>
  133. <srchassorsltcnts/>
  134. <srchpkgcd/>
  135. <srchonetwotype/>
  136. <updata>
  137. <req/>
  138. </updata>
  139. <srchddn/>
  140. <srchcdgrupid/>
  141. </send>
  142. <init>
  143. <baseinfo>
  144. <contypelst/>
  145. <statlst/>
  146. <healexamflag/>
  147. <hedetlflaglst/>
  148. <initaddrinfo/>
  149. </baseinfo>
  150. </init>
  151. <hidden/>
  152. <temp>
  153. <coninfolst/>
  154. <prntinfo/>
  155. <cdlst>
  156. </cdlst>
  157. <preview/>
  158. <language>H</language>
  159. <send>
  160. <pid/>
  161. <hngnm/>
  162. <excelparam/>
  163. <upload/>
  164. </send>
  165. <popupmenu>
  166. <item>
  167. <name>선택</name>
  168. <func>fSelCheck</func>
  169. </item>
  170. <item>
  171. <name>선택해지</name>
  172. <func>fSelUnCheck</func>
  173. </item>
  174. </popupmenu>
  175. <send2>
  176. <pid/>
  177. <hngnm/>
  178. <excelparam/>
  179. <upload/>
  180. </send2>
  181. <send0>
  182. <pid/>
  183. <hngnm/>
  184. <excelparam/>
  185. <upload/>
  186. <flag/>
  187. </send0>
  188. </temp>
  189. <report>
  190. <cmpyrslt>
  191. <item/>
  192. </cmpyrslt>
  193. <iteminfo/>
  194. <itemjudg/>
  195. <patinfo/>
  196. </report>
  197. <exceldata>
  198. <comexcellst>
  199. <item>
  200. <cmpynm/>
  201. <contype/>
  202. <famyrelacd/>
  203. <pid/>
  204. <hngnm/>
  205. <rrgstno/>
  206. <hopedd/>
  207. <data1/>
  208. <data2/>
  209. <data3/>
  210. <data4/>
  211. <data5/>
  212. <data6/>
  213. <data7/>
  214. <data8/>
  215. <data9/>
  216. <data10/>
  217. <data11/>
  218. <data12/>
  219. <data13/>
  220. <data14/>
  221. <data15/>
  222. <data16/>
  223. <data17/>
  224. <data18/>
  225. <data19/>
  226. <data20/>
  227. <data21/>
  228. <data22/>
  229. <data23/>
  230. <data24/>
  231. <data25/>
  232. <data26/>
  233. <data27/>
  234. <data28/>
  235. <data29/>
  236. <data30/>
  237. <data31/>
  238. <data32/>
  239. <data33/>
  240. <data34/>
  241. <data35/>
  242. <data36/>
  243. <data37/>
  244. <data38/>
  245. <data39/>
  246. <data40/>
  247. <data41/>
  248. <data42/>
  249. <data43/>
  250. <data44/>
  251. <data45/>
  252. <data46/>
  253. <data47/>
  254. <data48/>
  255. <data49/>
  256. <data50/>
  257. <data51/>
  258. <data52/>
  259. <data53/>
  260. <data54/>
  261. <data55/>
  262. <data56/>
  263. <data57/>
  264. <data58/>
  265. <data59/>
  266. <data60/>
  267. <data61/>
  268. <data62/>
  269. <data63/>
  270. <data64/>
  271. <data65/>
  272. <data66/>
  273. <data67/>
  274. <data68/>
  275. <data69/>
  276. <data70/>
  277. <data71/>
  278. <data72/>
  279. <data73/>
  280. <data74/>
  281. <data75/>
  282. <data76/>
  283. <data77/>
  284. <data78/>
  285. <data79/>
  286. <data80/>
  287. <data81/>
  288. <data82/>
  289. <data83/>
  290. <data84/>
  291. <data85/>
  292. <data86/>
  293. <data87/>
  294. <data88/>
  295. <data89/>
  296. <data90/>
  297. <data91/>
  298. <data92/>
  299. <data93/>
  300. <data94/>
  301. <data95/>
  302. <data96/>
  303. <data97/>
  304. <data98/>
  305. <data99/>
  306. <data100/>
  307. <data101/>
  308. <data102/>
  309. <data103/>
  310. <data104/>
  311. <data105/>
  312. <data106/>
  313. <data107/>
  314. <data108/>
  315. <data109/>
  316. <data110/>
  317. <data111/>
  318. <data112/>
  319. <data113/>
  320. <data114/>
  321. <data115/>
  322. <data116/>
  323. <data117/>
  324. <data118/>
  325. <data119/>
  326. <data120/>
  327. <data121/>
  328. <data122/>
  329. <data123/>
  330. <data124/>
  331. <data125/>
  332. <data126/>
  333. <data127/>
  334. <data128/>
  335. <data129/>
  336. <data130/>
  337. <data131/>
  338. <data132/>
  339. <data133/>
  340. <data134/>
  341. <data135/>
  342. <data136/>
  343. <data137/>
  344. <data138/>
  345. <data139/>
  346. <data140/>
  347. <data141/>
  348. <data142/>
  349. <data143/>
  350. <data144/>
  351. <data145/>
  352. <data146/>
  353. <data147/>
  354. <data148/>
  355. <data149/>
  356. <data150/>
  357. <data151/>
  358. <data152/>
  359. <data153/>
  360. <data154/>
  361. <data155/>
  362. <data156/>
  363. <data157/>
  364. <data158/>
  365. <data159/>
  366. <data160/>
  367. <data161/>
  368. <data162/>
  369. <data163/>
  370. <data164/>
  371. <data165/>
  372. <data166/>
  373. <data167/>
  374. <data168/>
  375. <data169/>
  376. <data170/>
  377. <data171/>
  378. <data172/>
  379. <data173/>
  380. <data174/>
  381. <data175/>
  382. <data176/>
  383. <data177/>
  384. <data178/>
  385. <data179/>
  386. <data180/>
  387. <data181/>
  388. <data182/>
  389. <data183/>
  390. <data184/>
  391. <data185/>
  392. <data186/>
  393. <data187/>
  394. <data188/>
  395. <data189/>
  396. <data190/>
  397. <data191/>
  398. <data192/>
  399. <data193/>
  400. <data194/>
  401. <data195/>
  402. <data196/>
  403. <data197/>
  404. <data198/>
  405. <data199/>
  406. <data200/>
  407. <data201/>
  408. <data202/>
  409. <data203/>
  410. <data204/>
  411. <data205/>
  412. <data206/>
  413. <data207/>
  414. <data208/>
  415. <data209/>
  416. <data210/>
  417. <data211/>
  418. <data212/>
  419. <data213/>
  420. <data214/>
  421. <data215/>
  422. <data216/>
  423. <data217/>
  424. <data218/>
  425. <data219/>
  426. <data220/>
  427. <data221/>
  428. <data222/>
  429. <data223/>
  430. <data224/>
  431. <data225/>
  432. <data226/>
  433. <data227/>
  434. <data228/>
  435. <data229/>
  436. <data230/>
  437. <data231/>
  438. <data232/>
  439. <data233/>
  440. <data234/>
  441. <data235/>
  442. <data236/>
  443. <data237/>
  444. <data238/>
  445. <data239/>
  446. <data240/>
  447. <data241/>
  448. <data242/>
  449. <grade/>
  450. <judg/>
  451. <judgd/>
  452. </item>
  453. </comexcellst>
  454. <lgexcellst>
  455. <item/>
  456. </lgexcellst>
  457. <comexceljillist>
  458. <item>
  459. <no/>
  460. <healexamflag/>
  461. <rsrvdd/>
  462. <rsrvno/>
  463. <cmpycd/>
  464. <sickcd/>
  465. <jugdcd/>
  466. <pid/>
  467. <hopedd/>
  468. </item>
  469. </comexceljillist>
  470. </exceldata>
  471. <uploadfile>
  472. <upload>
  473. <uploadrslt/>
  474. <uploadjudg/>
  475. <uploadhopnm/>
  476. </upload>
  477. </uploadfile>
  478. </root>
  479. </instance>
  480. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  481. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  482. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  483. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  484. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  485. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  486. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  487. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  488. <script type="javascript" ev:event="xforms-ready">
  489. <![CDATA[
  490. fGetBaseInfo();
  491. fInitInfo();
  492. fSetCmpyCtrl(true);
  493. ]]>
  494. </script>
  495. <submission id="TRZBC00101"/>
  496. <submission id="TRAHA00001"/>
  497. <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
  498. <submission id="TRAHR00907" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/contlst"/>
  499. <submission id="TRAHR00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detlinfo/prntlst"/>
  500. <submission id="TRAHA00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/cdlst"/>
  501. <submission id="TRAHR00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/prntinfo"/>
  502. <submission id="TRAHR00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/fstrsltinfo"/>
  503. <submission id="TRAHR00904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/fstrsltinfo"/>
  504. <submission id="TRAHR00905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/report/cmpyrslt"/>
  505. <submission id="TRAHR00906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send" replace="instance" resultref="/root/exceldata/comexcellst"/>
  506. <submission id="TRAHR00911" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send0" replace="instance" resultref="/root/exceldata/comexcellst"/>
  507. <submission id="TRAHR00912" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send/upload" replace="instance" resultref="/root/uploadfile"/>
  508. <submission id="TXAHR01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updata/req" replace="instance" resultref="/root/hidden"/>
  509. <submission id="TRAHR00908" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send" resultref="/root/exceldata/lgexcellst"/>
  510. <submission id="TRAHR00909" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/prntinfo"/>
  511. <submission id="TRAHR00910" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main1"/>
  512. <!-- 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 1. 질환여부검색 -->
  513. <submission id="TRAHR00913" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send2" replace="instance" resultref="/root/exceldata/comexceljillst"/>
  514. <submission id="TRAHB05402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_05400/reqdata" resultref="/root/main/prt"/>
  515. </model>
  516. <script type="javascript">
  517. <![CDATA[
  518. var m_vHealExamFlag = "";
  519. /*=======================================================================================
  520. *공통코드 가져오기
  521. =======================================================================================*/
  522. function fGetBaseInfo(){
  523. if( checkOpener() ){
  524. m_vHealExamFlag = opener.javascript.getParameter("SMAHR00900_PARAM1") ;
  525. if(m_vHealExamFlag == "") {
  526. m_vHealExamFlag = fGetHealExamFlag();
  527. }
  528. }
  529. else {
  530. m_vHealExamFlag = fGetHealExamFlag();
  531. }
  532. var vHealExamDetlFg = fGetHealExamDetlFlag();
  533. var vHeDetlFg = "A0069";
  534. if( m_vHealExamFlag == "G") {
  535. vHeDetlFg = "A0070";
  536. cmb_srchhealexamdetlflag.choices.itemset.attribute("nodeset") = "/root/init/baseinfo/hedetlflaglst/A0070" ;
  537. }
  538. //건진분류(종건/일건) , 건진상태구분, 계약종류
  539. zbcfGetCodeList( new Array( "A0068" ,"A0107","A0113", vHeDetlFg ),
  540. new Array ("/root/init/baseinfo/healexamflag"
  541. ,"/root/init/baseinfo/statlst"
  542. ,"/root/init/baseinfo/contypelst"
  543. ,"/root/init/baseinfo/hedetlflaglst") );
  544. submit("TRZBC00101");
  545. healGetCodeList( new Array("R001" ),
  546. new Array("/root/init/baseinfo/initaddrinfo") );
  547. model.makeValue("/root/init/addrinfo/CF1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CF1']/cdnm"));
  548. model.makeValue("/root/init/addrinfo/CP1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CP1']/cdnm"));
  549. if (vHealExamDetlFg == 'C01') {
  550. model.makeValue("/root/init/addrinfo/CP2", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CP2']/cdnm"));
  551. } else if (vHealExamDetlFg == 'C03') {
  552. model.makeValue("/root/init/addrinfo/CP2", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CP4']/cdnm"));
  553. } else {
  554. model.makeValue("/root/init/addrinfo/CP2", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'CP2']/cdnm"));
  555. }
  556. model.makeValue("/root/init/addrinfo/E01", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E01']/cdnm"));
  557. model.makeValue("/root/init/addrinfo/E02", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E02']/cdnm"));
  558. model.makeValue("/root/init/addrinfo/E03", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E03']/cdnm"));
  559. model.makeValue("/root/init/addrinfo/E04", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'E04']/cdnm"));
  560. model.makeValue("/root/init/addrinfo/K01", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K01']/cdnm"));
  561. model.makeValue("/root/init/addrinfo/K02", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K02']/cdnm"));
  562. model.makeValue("/root/init/addrinfo/K03", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K03']/cdnm"));
  563. model.makeValue("/root/init/addrinfo/K04", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'K04']/cdnm"));
  564. model.makeValue("/root/init/addrinfo/PV1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'PV1']/cdnm"));
  565. model.makeValue("/root/init/addrinfo/PV2", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'PV2']/cdnm"));
  566. model.makeValue("/root/init/addrinfo/VF1", model.getValue("/root/init/baseinfo/initaddrinfo/R001[cdid = 'VF1']/cdnm"));
  567. // 병원로고 통합 관련 프로그램 수정(2016/10/31 이정택)
  568. if(getUserInfo("dutplceinstcd")=='031'){
  569. model.makeValue("/root/init/addrinfo/logoimg", getImageURL("img_logo031"));
  570. model.makeValue("/root/init/addrinfo/logo001", getImageURL("logo031"));
  571. }else if(getUserInfo("dutplceinstcd")=='032'){
  572. model.makeValue("/root/init/addrinfo/logoimg", getImageURL("img_logo032"));
  573. model.makeValue("/root/init/addrinfo/logo001", getImageURL("logo032"));
  574. }else{
  575. model.makeValue("/root/init/addrinfo/logoimg", getImageURL("cmc"));
  576. model.makeValue("/root/init/addrinfo/logo001", getImageURL("logo001"));
  577. }
  578. // 병원로고 통합 관련 프로그램 수정(2016/10/31 이정택)
  579. cmb_srchhealexamdetlflag.refresh();
  580. cmb_srchhealexamdetlflag.select(0) ;
  581. if(m_vHealExamFlag == "C"){
  582. caption4.attribute("visibility") = "hidden";
  583. cmb_type.attribute("visibility") = "hidden";
  584. }else{
  585. cmb_type.select(0) ;
  586. }
  587. }
  588. /*=======================================================================================
  589. *초기화
  590. =======================================================================================*/
  591. function fInitInfo(){
  592. var cur_date = getCurrentDate() ;
  593. model.setValue( ipt_srchfromdd.attribute("ref") , cur_date) ;
  594. model.setValue(ipt_srchtodd.attribute("ref") , cur_date) ;
  595. model.removeNodeset(grd_contlst.nodeset);
  596. model.removeNodeset(grd_prntlst.nodeset);
  597. grd_prntlst.fixedcellcheckbox(0,1) = true;
  598. chk_preview.select(0);
  599. grd_contlst.fixedcellcheckbox(0 , grd_contlst.colRef("sel")) = true;
  600. var vHealExamDetlFg = fGetHealExamDetlFlag();
  601. var sDetlFg = "/root/init/baseinfo/hedetlflaglst/A0069";
  602. var nodelist = instance1.selectNodes(sDetlFg);
  603. if( nodelist.length > 0 ){
  604. cmb_srchhealexamdetlflag.value = vHealExamDetlFg;
  605. }
  606. model.refresh();
  607. }
  608. /**
  609. * 계약정보리스트 조회
  610. * bMode : true=> 계약기간별 업체코드/업체명별 조회, false => 해당 업체 코드의 전체 계약내역 조회
  611. *
  612. */
  613. function fGetConInfoList(){
  614. model.removeNodeset("/root/temp/coninfolst");
  615. model.setValue("/root/send/srchhealexamflag", m_vHealExamFlag );
  616. //계약기간별 /업체별 조회
  617. model.setValue("/root/send/srchcond", "" );
  618. model.setValue("/root/send/srchcmpycd" ,model.getValue(ipt_srchcmpycd.attribute("ref") ) );
  619. model.setValue("/root/send/srchcmpynm" ,model.getValue(ipt_srchcmpynm.attribute("ref") ) );
  620. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  621. openLoadingBar("계약정보리스트 ") ;//처리중 화면을 오픈한다.
  622. submit("TRAHR00907");
  623. closeLoadingBar() ;//처리중 화면을 close한다.
  624. }
  625. /**=======================================================================================
  626. * 건진 결과 출력 대상자 리스트 조회
  627. =======================================================================================*/
  628. function fGetPrntPatList(){
  629. model.removeNode("/root/main/detlinfo/prntpatlst");//클리어 노드
  630. var vHealExamFg = m_vHealExamFlag ; //fGetHealExamFlag();
  631. if(vHealExamFg != "C"){
  632. vHealExamFg = "G";
  633. }
  634. if( vHealExamFg == "" ) return ;
  635. model.setValue("/root/send/srchhealexamflag" , vHealExamFg);
  636. model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd"));
  637. var vNd = instance1.selectNodes(grd_contlst.nodeset + "[sel='Y']");
  638. var rCSV = getNodeListCSV(vNd);
  639. model.resetInstanceNode("/root/send/srchcontinfo" );
  640. model.setValue("/root/send/srchcontinfo" , rCSV);
  641. model.setValue("/root/send/srchpid" ,model.getValue(ipt_pid.attribute("ref")) );
  642. if(ipt_pid.currentText != ""){
  643. model.setValue("/root/send/srchddn", "Y");
  644. }else{
  645. model.setValue("/root/send/srchddn", "");
  646. model.setValue("/root/temp/send/hngnm","");
  647. }
  648. chk_srchddn.refresh();
  649. openLoadingBar("건진 결과 출력 대상자 리스트 ") ;//처리중 화면을 오픈한다.
  650. submit("TRAHR00901");
  651. closeLoadingBar() ;//처리중 화면을 close한다.
  652. }
  653. /**=======================================================================================
  654. * 단체선택시 컨트롤 초기화
  655. =======================================================================================*/
  656. function fSetCmpyCtrl(bDisable){
  657. ipt_srchcmpycd.value = "";
  658. ipt_srchcmpynm.value = "";
  659. ipt_srchcmpycd.disabled = bDisable;
  660. // ipt_srchcmpynm.disabled= bDisable;
  661. btn_selcmpycd.disabled = bDisable;
  662. model.removeNodeset(grd_contlst.nodeset);
  663. if( bDisable == false ){
  664. model.setFocus("ipt_srchcmpycd");
  665. }
  666. //자동판정은 서울성모만 해당.
  667. var logoinstcd = getUserInfo("dutplceinstcd");
  668. if(logoinstcd != "012"){
  669. button7.disabled = true;
  670. button6.disabled = true;
  671. }
  672. grd_contlst.refresh();
  673. }
  674. /**=======================================================================================
  675. @desc : 결과지 출력
  676. =======================================================================================*/
  677. function fPrintRslt(){
  678. var sHealExamFlag = fGetHealExamFlag() ;
  679. if( sHealExamFlag == "C" ){
  680. //종건출력
  681. fColgRsltPrnt();
  682. }
  683. else {
  684. if(cmb_type.value == "0"){
  685. //1차일건출력
  686. fGnrlRsltPrnt();
  687. }else{
  688. //2차일건출력
  689. fGnrlRsltPrnt2();
  690. }
  691. }
  692. }
  693. /**=======================================================================================
  694. @desc : 결과지 새로운 양식출력
  695. =======================================================================================*/
  696. function fNewPrintRslt() {
  697. var sHealExamFlag = fGetHealExamFlag() ;
  698. if( sHealExamFlag == "C" ){
  699. setParameter("reportprintyn", ""); //출력여부 확인하기
  700. var language = model.getValue("/root/temp/language");
  701. var nodeList = instance1.selectNodes(grd_prntlst.nodeset + "[sel='Y']");
  702. var ret = false;
  703. for( var i = 0 ; i < nodeList.length ; i++){
  704. model.setValue("/root/send/srchhealexamflag", nodeList.item(i).healexamflag.text ); //건진구분
  705. model.setValue("/root/send/srchhealexamdetlflag", nodeList.item(i).healexamdetlflag.text ); //건진상세구분
  706. model.setValue("/root/send/srchrsrvdd", nodeList.item(i).rsrvdd.text ); //예약등록일자
  707. model.setValue("/root/send/srchrsrvno", nodeList.item(i).rsrvno.text ); //예약등록번호
  708. model.setValue("/root/send/srchpid", nodeList.item(i).pid.text ); //등록번호
  709. model.setValue("/root/send/srchorddd", nodeList.item(i).orddd.text ); //건진일자
  710. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") ); //기관코드
  711. model.setValue("/root/send/srchlangflag", language ); //언어구분: 한글버전
  712. model.removeNodeset("/root/temp/colgprntinfo");
  713. //그리드에 뿌려주기
  714. ret = submit("TRAHR00909");
  715. if( (ret == true ) && (instance1.selectNodes("/root/temp/colgprntinfo/itemrslt") != null ) ) {
  716. //결과출력
  717. model.makeNode("/root/temp/colgprntinfo/itemjudg/judgcnts2");
  718. model.makeNode("/root/temp/colgprntinfo/iteminfo/pid");
  719. model.makeNode("/root/temp/colgprntinfo/iteminfo/pnm");
  720. model.makeNode("/root/temp/colgprntinfo/iteminfo/sexage");
  721. model.makeNode("/root/temp/colgprntinfo/iteminfo/orddd");
  722. model.makeNode("/root/temp/colgprntinfo/iteminfo/hopedd");
  723. model.makeNode("/root/temp/colgprntinfo/iteminfo/brthdd");
  724. model.makeNode("/root/temp/colgprntinfo/iteminfo/rrgstno")
  725. model.makeNode("/root/temp/colgprntinfo/itemjudg/judgdrnm")
  726. model.makeNode("/root/temp/colgprntinfo/itemjudg/nexthealexamdd")
  727. var nexthealexamdd = nodeList.item(i).hopedd.text;
  728. nexthealexamdd = nexthealexamdd.toDate().getAddDate(1,"Y").getDateFormat("YYYYMMDD") ;
  729. //alert("pid : " + nodeList.item(i).pid.text);
  730. model.setValue("/root/temp/colgprntinfo/iteminfo/pid", nodeList.item(i).pid.text );
  731. model.setValue("/root/temp/colgprntinfo/iteminfo/pnm", nodeList.item(i).hngnm.text );
  732. model.setValue("/root/temp/colgprntinfo/iteminfo/sexage", nodeList.item(i).sexage.text );
  733. model.setValue("/root/temp/colgprntinfo/iteminfo/orddd", nodeList.item(i).orddd.text );
  734. model.setValue("/root/temp/colgprntinfo/iteminfo/hopedd", nodeList.item(i).hopedd.text );
  735. model.setValue("/root/temp/colgprntinfo/iteminfo/brthdd", nodeList.item(i).brthdd.text );
  736. model.setValue("/root/temp/colgprntinfo/iteminfo/rrgstno", nodeList.item(i).rgstno.text );
  737. //model.setValue("/root/temp/colgprntinfo/itemjudg/judgdrnm", nodeList.item(i).judgdrnm.text);
  738. model.setValue("/root/temp/colgprntinfo/itemjudg/nexthealexamdd", nexthealexamdd);
  739. var bDirectPrnt = "true";
  740. if( chk_preview.value == "Y" ){
  741. bDirectPrnt = "false";
  742. }
  743. var vPrntFg = cmb_prntflag.value ;
  744. model.removeNodeset("/root/send/updata/req/item");
  745. if( vPrntFg != "paper" ) {
  746. if(language == "H") {
  747. exeReportPreview("RPAHR00901", "XMLSTR" , "" , "" , true /*출력여부*/ , "" , vPrntFg /*저장타입*/, nodeList.item(i).pid.text + "-" + nodeList.item(i).hngnm.text /*파일명*/ , "", false );
  748. }else {
  749. exeReportPreview("RPAHR00905", "XMLSTR" , "" , "" , true /*출력여부*/ , "" , vPrntFg /*저장타입*/, nodeList.item(i).pid.text + "-" + nodeList.item(i).hngnm.text /*파일명*/ , "", false );
  750. }
  751. } else {
  752. if (bDirectPrnt == "false") { //미리보기
  753. if(language == "H") {
  754. exeReportPreview("RPAHR00906", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
  755. }else {
  756. exeReportPreview("RPAHR00906", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
  757. }
  758. } else {
  759. if(language == "H") {
  760. exeReportPreview("RPAHR00906", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
  761. }else {
  762. exeReportPreview("RPAHR00906", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
  763. }
  764. }
  765. }
  766. }
  767. }
  768. if (getParameter("reportprintyn") == "Y"){ // 출력했으면..
  769. for( var i = 0 ; i <= grd_prntlst.rows ; i++){
  770. if(grd_prntlst.valueMatrix(i,grd_prntlst.colRef("sel")) == "Y") {
  771. copyNodeListType("/root/send/updata/req", "/root/main/detlinfo/prntpatlst/item["+ i +"]", "after");
  772. }
  773. }
  774. submit("TXAHR01003");
  775. }
  776. }
  777. }
  778. /**=======================================================================================
  779. @desc : 의사소견 결과지 출력
  780. =======================================================================================*/
  781. function fDrOpnPrintRslt(){
  782. setParameter("reportprintyn", ""); //출력여부 확인하기
  783. var language = model.getValue("/root/temp/language");
  784. var nodeList = instance1.selectNodes(grd_prntlst.nodeset + "[sel='Y']");
  785. var ret = false;
  786. for( var i = 0 ; i < nodeList.length ; i++){
  787. model.makeValue("/root/send_05400/reqdata/srchhealexamflag", nodeList.item(i).healexamflag.text ); //건진구분
  788. model.makeValue("/root/send_05400/reqdata/srchhealexamdetlflag", nodeList.item(i).healexamdetlflag.text ); //건진상세구분
  789. model.makeValue("/root/send_05400/reqdata/srchrsrvdd", nodeList.item(i).rsrvdd.text ); //예약등록일자
  790. model.makeValue("/root/send_05400/reqdata/srchrsrvno", nodeList.item(i).rsrvno.text ); //예약등록번호
  791. model.makeValue("/root/send_05400/reqdata/srchpid", nodeList.item(i).pid.text ); //등록번호
  792. model.makeValue("/root/send_05400/reqdata/srchinstcd", getUserInfo("dutplceinstcd") ); //기관코드
  793. // model.makeValue("/root/send_05300/reqdata/srchlangflag", rdo_language.value); //건진구분
  794. model.makeValue("/root/send_05400/reqdata/srchhopedd", nodeList.item(i).hopedd.text );
  795. model.makeValue("/root/send_05400/reqdata/srchhngnm", nodeList.item(i).hngnm.text );
  796. model.makeValue("/root/send_05400/reqdata/srchsex", nodeList.item(i).sex.text );
  797. model.makeValue("/root/send_05400/reqdata/srchage", nodeList.item(i).age.text );
  798. model.makeValue("/root/send_05400/reqdata/srchflag" , 'prt');
  799. //그리드에 뿌려주기
  800. ret = submit("TRAHB05402");
  801. var logoinstcd = getUserInfo("dutplceinstcd");
  802. var getinstcd = "MIS" + logoinstcd;
  803. var logourl = getBigLogoImageURL("", getinstcd);
  804. //model.alert(logourl);
  805. model.makeValue("/root/main/prt/lstopn/item13", logourl);
  806. exeReportPreview("RPAHB05402", "XMLSTR", "/root/main/prt", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
  807. }
  808. }
  809. /**=======================================================================================
  810. @desc : 종합건진 결과지 출력
  811. =======================================================================================*/
  812. function fColgRsltPrnt(){
  813. setParameter("reportprintyn", ""); //출력여부 확인하기
  814. var language = model.getValue("/root/temp/language");
  815. var nodeList = instance1.selectNodes(grd_prntlst.nodeset + "[sel='Y']");
  816. var ret = false;
  817. for( var i = 0 ; i < nodeList.length ; i++){
  818. model.setValue("/root/send/srchhealexamflag", nodeList.item(i).healexamflag.text ); //건진구분
  819. model.setValue("/root/send/srchhealexamdetlflag", nodeList.item(i).healexamdetlflag.text ); //건진상세구분
  820. model.setValue("/root/send/srchrsrvdd", nodeList.item(i).rsrvdd.text ); //예약등록일자
  821. model.setValue("/root/send/srchrsrvno", nodeList.item(i).rsrvno.text ); //예약등록번호
  822. model.setValue("/root/send/srchpid", nodeList.item(i).pid.text ); //등록번호
  823. model.setValue("/root/send/srchorddd", nodeList.item(i).orddd.text ); //건진일자
  824. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") ); //기관코드
  825. model.setValue("/root/send/srchlangflag", language ); //언어구분: 한글버전
  826. model.removeNodeset("/root/temp/colgprntinfo");
  827. //그리드에 뿌려주기
  828. ret = submit("TRAHR00902");
  829. if( (ret == true ) && (instance1.selectNodes("/root/temp/colgprntinfo/itemrslt") != null ) ) {
  830. //결과출력
  831. model.makeNode("/root/temp/colgprntinfo/iteminfo/pid");
  832. model.makeNode("/root/temp/colgprntinfo/iteminfo/pnm");
  833. model.makeNode("/root/temp/colgprntinfo/iteminfo/sexage");
  834. model.makeNode("/root/temp/colgprntinfo/iteminfo/orddd");
  835. model.makeNode("/root/temp/colgprntinfo/iteminfo/hopedd");
  836. model.makeNode("/root/temp/colgprntinfo/iteminfo/brthdd");
  837. model.makeNode("/root/temp/colgprntinfo/iteminfo/rrgstno")
  838. model.makeNode("/root/temp/colgprntinfo/itemjudg/judgdrnm")
  839. model.makeNode("/root/temp/colgprntinfo/itemjudg/nexthealexamdd")
  840. var nexthealexamdd = nodeList.item(i).hopedd.text;
  841. nexthealexamdd = nexthealexamdd.toDate().getAddDate(1,"Y").getDateFormat("YYYYMMDD") ;
  842. //alert("pid : " + nodeList.item(i).pid.text);
  843. var judgcntsarr = model.getValue("/root/temp/colgprntinfo/itemjudg/judgcnts").split("\n");
  844. for(var idx = 0; idx < judgcntsarr.length; idx++){
  845. model.makeValue("/root/temp/colgprntinfo/itemjudg/judgcntsinfo"+"["+ (idx+1) +"]/judg",judgcntsarr[idx] );
  846. }
  847. model.setValue("/root/temp/colgprntinfo/iteminfo/pid", nodeList.item(i).pid.text );
  848. model.setValue("/root/temp/colgprntinfo/iteminfo/pnm", nodeList.item(i).hngnm.text );
  849. model.setValue("/root/temp/colgprntinfo/iteminfo/sexage", nodeList.item(i).sexage.text );
  850. model.setValue("/root/temp/colgprntinfo/iteminfo/orddd", nodeList.item(i).orddd.text );
  851. model.setValue("/root/temp/colgprntinfo/iteminfo/hopedd", nodeList.item(i).hopedd.text );
  852. model.setValue("/root/temp/colgprntinfo/iteminfo/brthdd", nodeList.item(i).brthdd.text );
  853. model.setValue("/root/temp/colgprntinfo/iteminfo/rrgstno", nodeList.item(i).rgstno.text );
  854. //model.setValue("/root/temp/colgprntinfo/itemjudg/judgdrnm", nodeList.item(i).judgdrnm.text);
  855. model.setValue("/root/temp/colgprntinfo/itemjudg/nexthealexamdd", nexthealexamdd);
  856. var bDirectPrnt = "true";
  857. if( chk_preview.value == "Y" ){
  858. bDirectPrnt = "false";
  859. }
  860. var vPrntFg = cmb_prntflag.value ;
  861. model.removeNodeset("/root/send/updata/req/item");
  862. var instcd = getUserInfo("dutplceinstcd");
  863. if( vPrntFg != "paper" ) {
  864. if(language == "H") {
  865. //alert("결과출력H");
  866. if(instcd=="031"){
  867. exeReportPreview("RPAHR00940", "XMLSTR" , "" , "" , "false" /*출력여부*/ , "false" , vPrntFg /*저장타입*/, nodeList.item(i).pid.text + "-" + nodeList.item(i).hngnm.text + "." + vPrntFg /*파일명*/ , "0", "true" );
  868. }else if(instcd=="032"){
  869. exeReportPreview("RPAHR00901", "XMLSTR" , "" , "" , "false" /*출력여부*/ , "false" , vPrntFg /*저장타입*/, nodeList.item(i).pid.text + "-" + nodeList.item(i).hngnm.text + "." + vPrntFg /*파일명*/ , "0", "true" );
  870. }
  871. //exeReportPreview("RPAHR00901", "XMLSTR" , "" , "" , "false" /*출력여부*/ , "false" , vPrntFg /*저장타입*/, nodeList.item(i).pid.text + "-" + nodeList.item(i).hngnm.text + "." + vPrntFg /*파일명*/ , "0", "true" );
  872. }else {
  873. //alert("결과출력E");
  874. exeReportPreview("RPAHR00905", "XMLSTR" , "" , "" , "" /*출력여부*/ , "" , vPrntFg /*저장타입*/, nodeList.item(i).pid.text + "-" + nodeList.item(i).hngnm.text + "." + vPrntFg /*파일명*/ , "", false );
  875. }
  876. } else {
  877. if (bDirectPrnt == "false") { //미리보기
  878. if(language == "H") {
  879. if(instcd=="031"){
  880. exeReportPreview("RPAHR00940", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
  881. }else if(instcd=="032"){
  882. exeReportPreview("RPAHR00901", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
  883. }
  884. //exeReportPreview("RPAHR00901", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
  885. }else {
  886. exeReportPreview("RPAHR00905", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
  887. }
  888. } else {
  889. if(language == "H") {
  890. if(instcd=="031"){
  891. exeReportPreview("RPAHR00940", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
  892. }else if(instcd=="032"){
  893. exeReportPreview("RPAHR00901", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
  894. }
  895. //exeReportPreview("RPAHR00901", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
  896. }else {
  897. exeReportPreview("RPAHR00905", "XMLSTR", "root/temp/colgprntinfo/itemrslt", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
  898. }
  899. }
  900. }
  901. }
  902. }
  903. if (getParameter("reportprintyn") == "Y"){ // 출력했으면..
  904. for( var i = 0 ; i <= grd_prntlst.rows ; i++){
  905. if(grd_prntlst.valueMatrix(i,grd_prntlst.colRef("sel")) == "Y") {
  906. copyNodeListType("/root/send/updata/req", "/root/main/detlinfo/prntpatlst/item["+ i +"]", "after");
  907. }
  908. }
  909. submit("TXAHR01003");
  910. }
  911. }
  912. /**=======================================================================================
  913. @desc : 종합건진 단체결과지 출력
  914. =======================================================================================*/
  915. function fCmpyColgRsltPrnt() {
  916. var nodeList = instance1.selectNodes(grd_prntlst.nodeset + "[sel='Y']");
  917. var ret = false;
  918. for( var i = 0 ; i < nodeList.length ; i++){
  919. model.setValue("/root/send/srchhealexamflag", nodeList.item(i).healexamflag.text ); //건진구분
  920. model.setValue("/root/send/srchhealexamdetlflag", nodeList.item(i).healexamdetlflag.text ); //건진상세구분
  921. model.setValue("/root/send/srchrsrvdd", nodeList.item(i).rsrvdd.text ); //예약등록일자
  922. model.setValue("/root/send/srchrsrvno", nodeList.item(i).rsrvno.text ); //예약등록번호
  923. model.setValue("/root/send/srchpid", nodeList.item(i).pid.text ); //등록번호
  924. model.setValue("/root/send/srchorddd", nodeList.item(i).orddd.text ); //건진일자
  925. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") ); //기관코드
  926. model.setValue("/root/send/srchlangflag", "H" ); //언어구분: 한글버전
  927. model.removeNodeset("/root/report/cmpyrslt");
  928. //그리드에 뿌려주기
  929. ret = submit("TRAHR00905");
  930. model.makeNode("/root/report/iteminfo/pid");
  931. model.makeNode("/root/report/iteminfo/pnm");
  932. model.makeNode("/root/report/iteminfo/sexage");
  933. model.makeNode("/root/report/iteminfo/orddd");
  934. model.makeNode("/root/report/iteminfo/hopedd");
  935. model.makeNode("/root/report/iteminfo/brthdd");
  936. model.makeNode("/root/report/iteminfo/rrgstno")
  937. model.makeNode("/root/report/itemjudg/judgdrnm")
  938. model.makeNode("/root/report/itemjudg/nexthealexamdd")
  939. var nexthealexamdd = nodeList.item(i).orddd.text;
  940. nexthealexamdd = nexthealexamdd.toDate().getAddDate(1,"Y").getDateFormat("YYYYMMDD") ;
  941. //alert("pid : " + nodeList.item(i).pid.text);
  942. model.setValue("/root/report/iteminfo/pid", nodeList.item(i).pid.text );
  943. model.setValue("/root/report/iteminfo/pnm", nodeList.item(i).hngnm.text );
  944. model.setValue("/root/report/iteminfo/sexage", nodeList.item(i).sexage.text );
  945. model.setValue("/root/report/iteminfo/orddd", nodeList.item(i).orddd.text );
  946. model.setValue("/root/report/iteminfo/hopedd", nodeList.item(i).hopedd.text );
  947. model.setValue("/root/report/iteminfo/brthdd", nodeList.item(i).brthdd.text );
  948. model.setValue("/root/report/iteminfo/rrgstno", nodeList.item(i).rgstno.text );
  949. model.setValue("/root/report/itemjudg/judgdrnm", nodeList.item(i).judgdrnm.text);
  950. model.setValue("/root/report/itemjudg/nexthealexamdd", nexthealexamdd);
  951. var bDirectPrnt = "true";
  952. if( chk_preview.value == "Y" ){
  953. bDirectPrnt = "false";
  954. }
  955. var vPrntFg = cmb_prntflag.value ;
  956. model.removeNodeset("/root/send/updata/req/item");
  957. if( vPrntFg != "paper" ) {
  958. exeReportPreview("RPAHR00902", "XMLSTR" , "" , "" , true /*출력여부*/ , "" , vPrntFg /*저장타입*/, nodeList.item(i).pid.text + "-" + nodeList.item(i).hngnm.text /*파일명*/ , "", false );
  959. } else {
  960. if (bDirectPrnt == "false") { //미리보기
  961. exeReportPreview("RPAHR00902", "XMLSTR", "root/report","", "false","","","","","false");
  962. } else {
  963. exeReportPreview("RPAHR00902", "XMLSTR", "root/report", "", "true", "", "", "", "", "true","", "", "", "", "", "", "", 0);
  964. }
  965. }
  966. }
  967. if (getParameter("reportprintyn") == "Y"){ // 출력했으면..
  968. for( var i = 0 ; i <= grd_prntlst.rows ; i++){
  969. if(grd_prntlst.valueMatrix(i,grd_prntlst.colRef("sel")) == "Y") {
  970. copyNodeListType("/root/send/updata/req", "/root/main/detlinfo/prntpatlst/item["+ i +"]", "after");
  971. }
  972. }
  973. submit("TXAHR01003");
  974. }
  975. }
  976. function fCmpyColgRsltExcel(maxcnt, colk,gubun)
  977. {
  978. var nodeList = instance1.selectNodes(grd_prntlst.nodeset + "[sel='Y']");
  979. // 수정이력 : 20100402 JHP 환자번호로 조회시 다른곳에서 사용하는 서브밋과 겹쳐서 오류발생 다른것으로 변경 시작
  980. // model.setValue("/root/temp/send/excelparam", getNodeListCSV (nodeList)); // 원래것.
  981. model.setValue("/root/temp/send0/excelparam", getNodeListCSV (nodeList));
  982. // 수정이력 : 20100402 JHP 환자번호로 조회시 다른곳에서 사용하는 서브밋과 겹쳐서 오류발생 다른것으로 변경 끝
  983. //var ret = submit("TRAHR00906");
  984. var ret = submit("TRAHR00911");
  985. datagrid1.insertRow(0, "below");
  986. var irow = datagrid1.row;
  987. var icnt = parseInt(getNodesetCount("/root/main1/titleinfo/cmt")) + 1;
  988. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/cmpynm", "단체회사명");
  989. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/contype", "계약명");
  990. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/famyrelacd", "관계(본인/배우자/가족)");
  991. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/pid", "등록번호");
  992. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/hngnm", "성명");
  993. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/rrgstno", "주민등록번호");
  994. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/hopedd", "건진일자");
  995. //if(gubun=="auto"){
  996. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/grade", "결과등급");
  997. //}
  998. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/judg", "종합판정");
  999. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/judgd", "단문판정");
  1000. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 첫번째 컬럼에 한글제목넣기 시작
  1001. if(maxcnt != 0){
  1002. var judgcol = colk+1;
  1003. for(var n = 0; n < maxcnt; n++){
  1004. var nn = judgcol + n;
  1005. var datacol = "data" + nn;
  1006. model.setValue("/root/exceldata/comexcellst/item[" + irow + "]/" + datacol +"", "질환" + (n+1) + "");
  1007. }
  1008. }
  1009. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 첫번째 컬럼에 한글제목넣기 끝
  1010. var title = "";
  1011. for (var i = 1; i < icnt; i++){
  1012. title = model.getValue("/root/main1/titleinfo[" + i + "]/cdnm");
  1013. datagrid1.valueMatrix(irow, i + 6) = title;
  1014. }
  1015. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 2. 질환구분자갯수만큼값셋팅하기 시작
  1016. var gridrows = datagrid1.rows;
  1017. var gridfrow = datagrid1.fixedRows;
  1018. var gridnrow = gridrows - gridfrow;
  1019. var coliset = colk + maxcnt;
  1020. var maxcoliset = colk + maxcnt + maxcnt;
  1021. var chngno = 0;
  1022. var no = 0;
  1023. var colno = 0;
  1024. var isetset = 1;
  1025. for(var r = 2; r <= gridnrow; r++){
  1026. var opid = model.getValue("/root/exceldata/comexcellst/item[" + r + "]/pid");
  1027. var ohopedd = model.getValue("/root/exceldata/comexcellst/item[" + r + "]/hopedd");
  1028. var judgcol2 = colk+1;
  1029. for(var n2 = colno; n2 < maxcnt; n2++){
  1030. var nn2 = judgcol2 + n2;
  1031. var datacol2 = "data" + nn2;
  1032. no = model.getValue("/root/exceldata/comexceljillist/item[" + isetset + "]/no");
  1033. var tpid = model.getValue("/root/exceldata/comexceljillist/item[" + isetset + "]/pid");
  1034. var thopedd = model.getValue("/root/exceldata/comexceljillist/item[" + isetset + "]/hopedd");
  1035. var sickcd = model.getValue("/root/exceldata/comexceljillist/item[" + isetset + "]/sickcd");
  1036. if(no != chngno){
  1037. chngno++;
  1038. break;
  1039. }else{
  1040. isetset++;
  1041. }
  1042. if(opid == tpid && ohopedd == thopedd){
  1043. model.setValue("/root/exceldata/comexcellst/item[" + r + "]/" + datacol2 +"", sickcd);
  1044. }
  1045. }
  1046. }
  1047. // 2010.06.28 mykim. 자동판정인경우에만 결과등급을 보여주도록 함.
  1048. if(gubun=="com"){
  1049. datagrid1.colHidden(datagrid1.colRef("grade")) = true;
  1050. }
  1051. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 2. 질환구분자갯수만큼값셋팅하기 끝
  1052. model.refresh();
  1053. if(ret)
  1054. {
  1055. for(var i = 1; i <= datagrid1.rows; i++) {
  1056. datagrid1.valueMatrix(i , datagrid1.colRef("judg")) = datagrid1.valueMatrix(i , datagrid1.colRef("judg")).replace(/\\r/gm, "");
  1057. }
  1058. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1059. datagrid1.saveExcel(fileName);
  1060. }
  1061. }
  1062. function fCmpyColgRsltLGExcel() {
  1063. var nodeList = instance1.selectNodes(grd_prntlst.nodeset + "[sel='Y']");
  1064. model.setValue("/root/temp/send/excelparam", getNodeListCSV (nodeList));
  1065. var ret = submit("TRAHR00908");
  1066. model.refresh();
  1067. if(ret)
  1068. {
  1069. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1070. datagrid2.saveExcel(fileName);
  1071. }
  1072. }
  1073. /**=======================================================================================
  1074. @desc : 일반건진 결과지 출력, 일건-공단건진의 경우 패키지의 결과지 분류로 1,2차, 구강,암
  1075. 결과지 구분필요.
  1076. =======================================================================================*/
  1077. function fGnrlRsltPrnt(){
  1078. var fst = grd_prntlst.rows;
  1079. var sel = "";
  1080. for(var i=0 ; i < fst ; i++){
  1081. sel = model.getValue("/root/main/detlinfo/prntpatlst/item[" + i + "]/sel");
  1082. if(sel == "Y"){
  1083. model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() ); //건진구분
  1084. model.setValue("/root/send/srchpid" , model.getValue(grd_prntlst.nodeset + "[" + i + "]/pid") ); //등록번호
  1085. model.setValue("/root/send/srchrsrvdd" , model.getValue(grd_prntlst.nodeset + "[" + i + "]/rsrvdd") ); //건진예약등록일자
  1086. model.setValue("/root/send/srchrsrvno" , model.getValue(grd_prntlst.nodeset + "[" + i + "]/rsrvno") ); //건진예약등록번호
  1087. model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd") ); //기관코드
  1088. model.removeNodeset("/root/main/fstrsltinfo");
  1089. ret = submit("TRAHR00903");
  1090. //예외처리
  1091. if( (ret == true ) && (instance1.selectNodes("/root/main/fstrsltinfo/itemasso") != null ) ) {
  1092. //환자정보
  1093. model.makeNode("/root/main/fstrsltinfo/itemasso/hngnm");
  1094. model.makeNode("/root/main/fstrsltinfo/itemasso/rgstno");
  1095. model.makeNode("/root/main/fstrsltinfo/itemasso/addr");
  1096. model.makeNode("/root/main/fstrsltinfo/itemasso/detladdr");
  1097. model.makeNode("/root/main/fstrsltinfo/itemasso/zipcd1");
  1098. model.makeNode("/root/main/fstrsltinfo/itemasso/zipcd2");
  1099. model.setValue("/root/main/fstrsltinfo/itemasso/hngnm" ,model.getValue(grd_prntlst.nodeset + "[" + i + "]/hngnm") );
  1100. model.setValue("/root/main/fstrsltinfo/itemasso/rgstno" ,model.getValue(grd_prntlst.nodeset + "[" + i + "]/rgstno") );
  1101. model.setValue("/root/main/fstrsltinfo/itemasso/addr" ,model.getValue(grd_prntlst.nodeset + "[" + i + "]/addr") );
  1102. model.setValue("/root/main/fstrsltinfo/itemasso/detladdr" ,model.getValue(grd_prntlst.nodeset + "[" + i + "]/detladdr") );
  1103. model.setValue("/root/main/fstrsltinfo/itemasso/zipcd1" ,model.getValue(grd_prntlst.nodeset + "[" + i + "]/zipcd1") );
  1104. model.setValue("/root/main/fstrsltinfo/itemasso/zipcd2" ,model.getValue(grd_prntlst.nodeset + "[" + i + "]/zipcd2") );
  1105. nodeList= null;
  1106. nodeList= instance1.selectNodes("/root/main/fstrsltinfo/itemasso");
  1107. if((nodeList != null)||(nodeList.length >0 )){
  1108. if(chk_preview.value == "Y"){
  1109. exeReportPreview("RPAHR00903", "XMLSTR");
  1110. }
  1111. else {
  1112. exeReportPreview("RPAHR00903", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  1113. }
  1114. }
  1115. }
  1116. }
  1117. }
  1118. }
  1119. /**=======================================================================================
  1120. @desc : 2차 일반건진 결과판정 출력
  1121. =======================================================================================*/
  1122. function fGnrlRsltPrnt2(){
  1123. var fst = grd_prntlst.rows;
  1124. var sel = "";
  1125. for(var i=0 ; i < fst ; i++){
  1126. sel = model.getValue("/root/main/detlinfo/prntpatlst/item[" + i + "]/sel");
  1127. if(sel == "Y"){
  1128. model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() ); //건진구분
  1129. model.setValue("/root/send/srchpid" , model.getValue(grd_prntlst.nodeset + "[" + i + "]/pid") ); //등록번호
  1130. model.setValue("/root/send/srchrsrvdd" , model.getValue(grd_prntlst.nodeset + "[" + i + "]/rsrvdd") ); //건진예약등록일자
  1131. model.setValue("/root/send/srchrsrvno" , model.getValue(grd_prntlst.nodeset + "[" + i + "]/rsrvno") ); //건진예약등록번호
  1132. model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd") ); //기관코드
  1133. model.removeNodeset("/root/main/fstrsltinfo");
  1134. ret = submit("TRAHR00904");
  1135. //예외처리
  1136. if( (ret == true ) && (instance1.selectNodes("/root/main/fstrsltinfo/itemasso") != null ) ) {
  1137. //환자정보
  1138. model.makeNode("/root/main/fstrsltinfo/itemasso/hngnm");
  1139. model.makeNode("/root/main/fstrsltinfo/itemasso/rgstno");
  1140. model.setValue("/root/main/fstrsltinfo/itemasso/hngnm" ,model.getValue(grd_prntlst.nodeset + "[" + i + "]/hngnm") );
  1141. model.setValue("/root/main/fstrsltinfo/itemasso/rgstno" ,model.getValue(grd_prntlst.nodeset + "[" + i + "]/rgstno") );
  1142. nodeList= null;
  1143. nodeList= instance1.selectNodes("/root/main/fstrsltinfo/itemasso");
  1144. if((nodeList != null)||(nodeList.length >0 )){
  1145. if(chk_preview.value == "Y"){
  1146. exeReportPreview("RPAHR00904", "XMLSTR");
  1147. }
  1148. else {
  1149. exeReportPreview("RPAHR00904", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  1150. }
  1151. }
  1152. }
  1153. }
  1154. }
  1155. }
  1156. /**=======================================================================================
  1157. @desc : 단체결과 upload text 양식 생성
  1158. =======================================================================================*/
  1159. function fCmpyUploadText() {
  1160. var seq = "_";
  1161. var nodeList = instance1.selectNodes(grd_prntlst.nodeset + "[sel='Y']");
  1162. model.setValue("/root/temp/send/upload", getNodeListCSV (nodeList));
  1163. if(submit("TRAHR00912")) {
  1164. var totalRslt = "";
  1165. var totalJudg = "";
  1166. if(getNodesetCount("/root/uploadfile/upload") > 0) {
  1167. for(var i = 1; i <= getNodesetCount("/root/uploadfile/upload") ; i++) {
  1168. totalRslt += model.getValue("/root/uploadfile/upload[" + i + "]/uploadrslt") + "\r\n";
  1169. totalJudg += model.getValue("/root/uploadfile/upload[" + i + "]/uploadjudg") + "\r\n";
  1170. }
  1171. var folderPath = window.folderDialog("자료연계파일 생성경로");
  1172. var rsltFileNm = model.getValue("/root/uploadfile/upload[1]/uploadhopnm") + seq + model.getValue("/root/send/srchcmpynm2") + seq + model.getValue("/root/send/srchfromdd") + "~" + model.getValue("/root/send/srchtodd");
  1173. var judgFileNm = rsltFileNm + seq + "소견";
  1174. fMakeFile( rsltFileNm + ".txt", totalRslt , folderPath);
  1175. fMakeFile( judgFileNm + ".txt" , totalJudg , folderPath);
  1176. }
  1177. }
  1178. }
  1179. /****************************************************************************************************
  1180. *** 파일을 생성한다.
  1181. **************************************************************************************************/
  1182. function fMakeFile(vFileName, vFileCont , vFolderPath ) {
  1183. if(vFileName == null || vFileName == "") return;
  1184. if(vFileCont == null || vFileCont == "") return;
  1185. if(vFolderPath == null || vFolderPath == "") return;
  1186. var folderPath = vFolderPath;
  1187. var defaultFolder = folderPath;
  1188. var folderExist = false;
  1189. var fileExist = true;
  1190. var fileCnt = 0;
  1191. fso=new ActiveXObject('Scripting.FileSystemObject');
  1192. // 폴더가 존재하는 체크
  1193. if(fso.FolderExists(defaultFolder)){
  1194. folderExist = true;
  1195. }else {
  1196. folderExist = false;
  1197. fso.CreatFolder(defaultFolder);
  1198. }
  1199. /*
  1200. while(fileExist) {
  1201. // 파일이 존재하는 체크
  1202. if(fso.FileExists(defaultFolder + "\\" + vFileName)) {
  1203. fileCnt++;
  1204. }else {
  1205. if(fileCnt > 0) {
  1206. vFileName = "(" + fileCnt + ")" + vFileName;
  1207. }
  1208. fileExist = false;
  1209. }
  1210. }*/
  1211. filePath = defaultFolder + "\\" + vFileName;
  1212. // 파일 생성
  1213. if(filePath != "") {
  1214. try{fso.CreateTextFile(filePath,true,true);
  1215. file = fso.OpenTextFile(filePath,2,true);
  1216. file.Write(vFileCont);
  1217. }catch(err) {
  1218. alert(err.description);
  1219. } finally {
  1220. file.close();
  1221. }
  1222. }
  1223. }
  1224. function fSelCheck() {
  1225. for(var i=0; i <= grd_prntlst.selectedRows; i++ ) {
  1226. grd_prntlst.valueMatrix(grd_prntlst.selectedRow(i) , grd_prntlst.colRef("sel")) = "Y";
  1227. }
  1228. }
  1229. function fSelUnCheck() {
  1230. for(var i=0; i <= grd_prntlst.selectedRows; i++ ) {
  1231. grd_prntlst.valueMatrix(grd_prntlst.selectedRow(i) , grd_prntlst.colRef("sel")) = "N";
  1232. }
  1233. }
  1234. ]]>
  1235. </script>
  1236. </xhtml:head>
  1237. <xhtml:body pagewidth="1220" pageheight="820" guideline="1,1195;2,789;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  1238. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  1239. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">건강진단결과표출력</caption>
  1240. </group>
  1241. <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  1242. <caption id="caption11" class="cell_1" style="left:227px; top:174px; width:80px; height:23px; vertical-align:middle; ">출력구분</caption>
  1243. <line id="line2" class="line_1" style="x1:470px; y1:25px; x2:1189px; y2:25px; "/>
  1244. <caption id="caption9" class="cell_1" style="left:2px; top:174px; width:80px; height:23px; vertical-align:middle; ">출력용지</caption>
  1245. <select1 id="cmb_prntflag" ref="/root/main/prntoptinfo/prntflag" class="combo_default" appearance="minimal" style="left:310px; top:175px; width:154px; height:19px; ">
  1246. <choices>
  1247. <item>
  1248. <label>Paper</label>
  1249. <value>paper</value>
  1250. </item>
  1251. <item>
  1252. <label>Excel</label>
  1253. <value>xls</value>
  1254. </item>
  1255. <item>
  1256. <label>PDF</label>
  1257. <value>pdf</value>
  1258. </item>
  1259. <item>
  1260. <label>HTML</label>
  1261. <value>html</value>
  1262. </item>
  1263. <item>
  1264. <label>BMP</label>
  1265. <value>bmp</value>
  1266. </item>
  1267. <item>
  1268. <label>TXT</label>
  1269. <value>txt</value>
  1270. </item>
  1271. <item>
  1272. <label>XML</label>
  1273. <value>xml</value>
  1274. </item>
  1275. </choices>
  1276. </select1>
  1277. <line id="line15" class="line_3" style="x1:0px; y1:197px; x2:465px; y2:197px; "/>
  1278. <caption id="caption3" class="tit_2" style="left:0px; top:155px; width:74px; height:14px; ">출력옵션</caption>
  1279. <datagrid id="grd_contlst" nodeset="/root/main/contlst/item" caption="^단체명칭^계약종류^계약일자^단체코드^conseq^conhistseq^healexamflag" colsep="^" colwidth="55, 215, 207, 98, 100, 100, 100, 100" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:470px; top:30px; width:719px; height:165px; ">
  1280. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1281. <col ref="cmpynm"/>
  1282. <col disabled="true" ref="contype" type="combo" style="text-align:left; ">
  1283. <choices>
  1284. <itemset nodeset="/root/init/baseinfo/contypelst/A0113">
  1285. <label ref="cdnm"/>
  1286. <value ref="cdid"/>
  1287. </itemset>
  1288. </choices>
  1289. </col>
  1290. <col ref="condd" format="yyyy-mm-dd" style="text-align:center; "/>
  1291. <col ref="cmpycd" visibility="hidden" style="text-align:center; "/>
  1292. <col ref="conseq" visibility="hidden"/>
  1293. <col ref="conhistseq" visibility="hidden"/>
  1294. <col ref="healexamflag" visibility="hidden"/>
  1295. <script type="javascript" ev:event="onaftersort">
  1296. <![CDATA[
  1297. grd_contlst.gridToInstance();
  1298. ]]>
  1299. </script>
  1300. </datagrid>
  1301. <caption id="caption5" class="tit_2" style="left:4px; top:208px; width:144px; height:13px; ">상세내역</caption>
  1302. <line id="line3" class="line_1" style="x1:0px; y1:223px; x2:1191px; y2:223px; "/>
  1303. <datagrid id="grd_prntlst" nodeset="/root/main/detlinfo/prntpatlst/item" caption="^출력^완료^등록번호^성명^성별^나이^주민등록번호^건진일자^자동판정일^orddd^상태^건진코드^건진명^단체명^근무부서^rsrvdd^rsrvno^healexamflag^healexamdetlflag^uncoflag^출력여부^출력횟수^출력자^출력일시^판정의^sexage^caption2^caption3^caption4^caption5^caption1" colsep="^" colwidth="55, 46, 45, 95, 100, 40, 40, 134, 100, 100, 0, 100, 100, 100, 123, 65, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:230px; width:1190px; height:510px; ">
  1304. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1305. <col disabled="true" ref="prntyn" type="checkbox"/>
  1306. <col disabled="true" ref="endyn" type="checkbox" visibility="hidden"/>
  1307. <col ref="pid"/>
  1308. <col ref="hngnm" type="input"/>
  1309. <col ref="sex" style="left:347px; top:23px; width:69px; height:23px; text-align:center; "/>
  1310. <col ref="age" style="left:347px; top:23px; width:69px; height:23px; text-align:center; "/>
  1311. <col ref="rgstno" format="999999-9999999" style="text-align:center; "/>
  1312. <col ref="hopedd" format="yyyy-mm-dd"/>
  1313. <col ref="ajcreatdd" format="yyyy-mm-dd hh:nn"/>
  1314. <col ref="orddd" visibility="hidden"/>
  1315. <col disabled="true" ref="statflag" type="combo">
  1316. <choices>
  1317. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  1318. <label ref="cdnm"/>
  1319. <value ref="cdid"/>
  1320. </itemset>
  1321. </choices>
  1322. </col>
  1323. <col ref="pkgcd"/>
  1324. <col ref="pkgnm"/>
  1325. <col ref="cmpynm"/>
  1326. <col ref="deptnm" style="left:1098px; top:23px; width:65px; height:23px; "/>
  1327. <col ref="rsrvdd" visibility="hidden"/>
  1328. <col ref="rsrvno" visibility="hidden"/>
  1329. <col ref="healexamflag" visibility="hidden"/>
  1330. <col ref="healexamdetlflag" visibility="hidden"/>
  1331. <col ref="uncoflag" visibility="hidden"/>
  1332. <col ref="prntyn" style="text-align:center; "/>
  1333. <col ref="prnttims" style="text-align:right; "/>
  1334. <col ref="prntrid"/>
  1335. <col ref="prnttm"/>
  1336. <col ref="judgdrnm"/>
  1337. <col ref="sexage"/>
  1338. <col ref="engnm" visibility="hidden"/>
  1339. <col ref="uncoflag" visibility="hidden"/>
  1340. <col ref="detladdr" visibility="hidden"/>
  1341. <col ref="addr" visibility="hidden"/>
  1342. <col ref="brthdd" visibility="hidden"/>
  1343. <script type="javascript" ev:event="onaftersort">
  1344. <![CDATA[
  1345. grd_prntlst.gridToInstance();
  1346. ]]>
  1347. </script>
  1348. <script type="javascript" ev:event="onmousedown">
  1349. <![CDATA[
  1350. if(event.button == 3) {
  1351. if(isDataCell()) {
  1352. setPopupMenu("grd_prntlst", false, "/root/temp/popupmenu/item", "name", "func");
  1353. }
  1354. }
  1355. ]]>
  1356. </script>
  1357. <script type="javascript" ev:event="DOMFocusOut">
  1358. <![CDATA[
  1359. window.setPopupMenu(false);
  1360. ]]>
  1361. </script>
  1362. </datagrid>
  1363. <select1 id="combo1" ref="/root/main/prntoptinfo/prntsize" class="combo_default" disabled="true" appearance="minimal" style="left:85px; top:175px; width:139px; height:19px; ">
  1364. <choices>
  1365. <item>
  1366. <label>A4</label>
  1367. <value>01</value>
  1368. </item>
  1369. </choices>
  1370. </select1>
  1371. <line id="line1" class="line_1" style="x1:0px; y1:170px; x2:465px; y2:170px; "/>
  1372. <group id="group2" style="left:0px; top:10px; width:465px; height:160px; vertical-align:top; ">
  1373. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:465px; height:160px; "/>
  1374. <caption id="caption10" class="search_name" style="left:5px; top:44px; width:91px; height:17px; ">건진기간 :</caption>
  1375. <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:43px; width:100px; height:19px; "/>
  1376. <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:220px; top:43px; width:100px; height:19px; "/>
  1377. <line id="line5" class="line_4" style="x1:390px; y1:11px; x2:390px; y2:149px; "/>
  1378. <caption id="caption13" class="search_name" style="left:5px; top:73px; width:86px; height:17px; ">환자검색 :</caption>
  1379. <caption id="caption14" class="search_n_b" style="left:201px; top:46px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1380. <input id="ipt_pid" ref="/root/temp/send/pid" class="input_search" style="left:92px; top:72px; width:100px; height:19px; ">
  1381. <script type="javascript" ev:event="onkeyup">
  1382. <![CDATA[
  1383. if( event.keyCode != 13) return ;
  1384. setInputNodeCurText();
  1385. var sPid = model.getValue("/root/temp/send/pid") ;
  1386. // ahafGetPatInfo : healexamweb/js/AHA001.js
  1387. if( ahafGetPatInfo(2, sPid , "" , "/root/temp/send" ) ){
  1388. model.setValue("/root/temp/send/pid" , model.getValue("/root/temp/patinfo/item/pid") );
  1389. model.setValue("/root/temp/send/hngnm" , model.getValue("/root/temp/patinfo/item/hngnm") );
  1390. }
  1391. else {
  1392. model.setValue("/root/temp/send/pid" , sPid );
  1393. model.setValue("/root/temp/send/hngnm" , "" );
  1394. }
  1395. fGetPrntPatList();
  1396. ]]>
  1397. </script>
  1398. </input>
  1399. <button id="btn_selpat" class="icon_search" style="left:197px; top:72px; width:16px; height:16px; ">
  1400. <caption/>
  1401. <script type="javascript" ev:event="DOMActivate">
  1402. <![CDATA[
  1403. fSearchPatInfo("SMAHR00900", "pnm","" , "N","", ipt_pid.attribute("ref"), ipt_pnm.attribute("ref") );
  1404. if( model.getValue( ipt_pid.attribute("ref")) != "" ){
  1405. fGetPrntPatList();
  1406. }
  1407. ]]>
  1408. </script>
  1409. </button>
  1410. <input id="ipt_pnm" ref="/root/temp/send/hngnm" class="input_search" style="left:220px; top:72px; width:100px; height:19px; ">
  1411. <script type="javascript" ev:event="onkeyup">
  1412. <![CDATA[
  1413. if( event.keyCode == 13 ){
  1414. fSearchPatInfo("SMAHR00900", "pnm", ipt_pnm.currentText , "N","", ipt_pid.attribute("ref"), ipt_pnm.attribute("ref") );
  1415. if( model.getValue( ipt_pid.attribute("ref")) != "" ){
  1416. fGetPrntPatList();
  1417. }
  1418. }
  1419. ]]>
  1420. </script>
  1421. </input>
  1422. <select id="chk_cmpyyn" ref="/root/send/srchcmpyyn" overflow="visible" appearance="full" cols="4" rows="1" style="left:325px; top:103px; width:56px; height:15px; border-style:none; ">
  1423. <choices>
  1424. <item>
  1425. <label>단체</label>
  1426. <value>Y</value>
  1427. </item>
  1428. </choices>
  1429. <script type="javascript" ev:event="xforms-select">
  1430. <![CDATA[
  1431. fSetCmpyCtrl(false);
  1432. ]]>
  1433. </script>
  1434. <script type="javascript" ev:event="xforms-deselect">
  1435. <![CDATA[
  1436. fSetCmpyCtrl(true);
  1437. ]]>
  1438. </script>
  1439. </select>
  1440. <input id="ipt_srchcmpycd" ref="/root/send/srchcmpycd" class="input_search" imemode="disabled" _chartype="upper" style="left:92px; top:101px; width:100px; height:19px; ">
  1441. <script type="javascript" ev:event="onkeyup">
  1442. <![CDATA[
  1443. if( event.keyCode == 13 ){
  1444. //fGetComnCd("SMAHR00900", "08" , "cd", ipt_srchcmpycd.currentText ,ipt_srchcmpycd.attribute("ref"), ipt_srchcmpynm.attribute("ref") );
  1445. ahafGetCmpyInfo( "08", ipt_srchcmpycd.currentText , "N", ipt_srchcmpycd.attribute("ref") , ipt_srchcmpynm.attribute("ref") , "");
  1446. if( ipt_srchcmpycd.currentText != "" ) fGetConInfoList();
  1447. }
  1448. ]]>
  1449. </script>
  1450. </input>
  1451. <button id="btn_selcmpycd" class="icon_search" style="left:197px; top:101px; width:16px; height:16px; ">
  1452. <caption/>
  1453. <script type="javascript" ev:event="DOMActivate">
  1454. <![CDATA[
  1455. fGetComnCd("SMAHR00900", "08" , "nm", ipt_srchcmpynm.currentText ,ipt_srchcmpycd.attribute("ref"), ipt_srchcmpynm.attribute("ref"));
  1456. if( ipt_srchcmpycd.currentText != "" ) fGetConInfoList();
  1457. ]]>
  1458. </script>
  1459. </button>
  1460. <input id="ipt_srchcmpynm" ref="/root/send/srchcmpynm2" class="input_search" disabled="true" style="left:220px; top:101px; width:100px; height:19px; ">
  1461. <script type="javascript" ev:event="onkeyup">
  1462. <![CDATA[
  1463. if( event.keyCode == 13 ){
  1464. fGetComnCd("SMAHR00900", "08", "nm", ipt_srchcmpynm.currentText , ipt_srchcmpycd.attribute("ref") ,ipt_srchcmpynm.attribute("ref") );
  1465. if( ipt_srchcmpycd.currentText != "" ) fGetConInfoList();
  1466. }
  1467. ]]>
  1468. </script>
  1469. </input>
  1470. <button id="btn_search" class="btn1_letter2" style="left:400px; top:57px; width:56px; height:22px; ">
  1471. <caption>조회</caption>
  1472. <script type="javascript" ev:event="DOMActivate">
  1473. <![CDATA[
  1474. //조회 버튼 클릭 이벤트
  1475. fGetPrntPatList();
  1476. ]]>
  1477. </script>
  1478. </button>
  1479. <caption id="caption1" class="search_name" style="left:5px; top:102px; width:88px; height:17px; ">단체 :</caption>
  1480. <caption id="caption2" class="search_name" style="left:5px; top:16px; width:91px; height:17px; ">건진구분 :</caption>
  1481. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" appearance="minimal" style="left:92px; top:14px; width:228px; height:19px; ">
  1482. <choices>
  1483. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0069">
  1484. <label ref="cdnm"/>
  1485. <value ref="cdid"/>
  1486. </itemset>
  1487. </choices>
  1488. <script type="javascript" ev:event="xforms-select">
  1489. <![CDATA[
  1490. fGetPrntPatList();
  1491. ]]>
  1492. </script>
  1493. </select1>
  1494. <caption id="caption4" class="search_name" style="left:5px; top:131px; width:107px; height:17px; ">1차/2차구분 :</caption>
  1495. <select1 id="cmb_type" ref="/root/send/srchonetwotype" class="combo_search" appearance="minimal" style="left:115px; top:130px; width:85px; height:19px; ">
  1496. <choices>
  1497. <item>
  1498. <label>1차</label>
  1499. <value>0</value>
  1500. </item>
  1501. <item>
  1502. <label>2차</label>
  1503. <value>2</value>
  1504. </item>
  1505. </choices>
  1506. </select1>
  1507. <select id="chk_srchddn" ref="/root/send/srchddn" overflow="visible" appearance="full" style="left:325px; top:45px; width:70px; height:20px; border-style:none; ">
  1508. <choices>
  1509. <item>
  1510. <label>사용안함</label>
  1511. <value>Y</value>
  1512. </item>
  1513. </choices>
  1514. </select>
  1515. </group>
  1516. <caption id="caption16" class="tit_2" style="left:472px; top:10px; width:111px; height:14px; ">단체</caption>
  1517. <line id="line6" class="line_3" style="x1:470px; y1:197px; x2:1189px; y2:197px; "/>
  1518. <datagrid id="datagrid2" nodeset="/root/exceldata/lgexcellst/item" visibility="hidden" caption="HNGNM^RRGSTNO^1^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^32^33^34^35^36^37^38^39^40^41^42^43^44^45^46^47^48^49^50^51^52^53^54^55^56^57^58^59^60^61^62^63^64^65^66^67^68^69^70^71^72^73^74^75^76^77^78^79^80^81^82^83^84^85^86^87^88^89^90^91^92^93^94^95^96^97^98^99^100^101^102^103^104^105^106^107^108^109^110^111^112^113^114^115^116^117^118^119^120^121^122^123^124^125^126^127^128^129^130^131^132^133^134^135^136^137^138^139^140^141^142^143^144^145^146^147^148^149^150^151^152^153^154^155^156^157^158^159^160^161^162^163^164^165^166^167^168^169^170^171^172^173^174^175^176^177^178^179^180^181^182^183^184^185^186^187^188^189^190^191^192^193^194^195^196^197^198^199^200^201^202^203^204^205^206^207^208" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:60px; top:320px; width:640px; height:195px; ">
  1519. <col ref="hngnm"/>
  1520. <col ref="rrgstno"/>
  1521. <col ref="col1"/>
  1522. <col ref="col2"/>
  1523. <col ref="col3"/>
  1524. <col ref="col4"/>
  1525. <col ref="col5"/>
  1526. <col ref="col6"/>
  1527. <col ref="col7"/>
  1528. <col ref="col8"/>
  1529. <col ref="col9"/>
  1530. <col ref="col10"/>
  1531. <col ref="col11"/>
  1532. <col ref="col12"/>
  1533. <col ref="col13"/>
  1534. <col ref="col14"/>
  1535. <col ref="col15"/>
  1536. <col ref="col16"/>
  1537. <col ref="col17"/>
  1538. <col ref="col18"/>
  1539. <col ref="col19"/>
  1540. <col ref="col20"/>
  1541. <col ref="col21"/>
  1542. <col ref="col22"/>
  1543. <col ref="col23"/>
  1544. <col ref="col24"/>
  1545. <col ref="col25"/>
  1546. <col ref="col26"/>
  1547. <col ref="col27"/>
  1548. <col ref="col28"/>
  1549. <col ref="col29"/>
  1550. <col ref="col30"/>
  1551. <col ref="col31"/>
  1552. <col ref="col32"/>
  1553. <col ref="col33"/>
  1554. <col ref="col34"/>
  1555. <col ref="col35"/>
  1556. <col ref="col36"/>
  1557. <col ref="col37"/>
  1558. <col ref="col38"/>
  1559. <col ref="col39"/>
  1560. <col ref="col40"/>
  1561. <col ref="col41"/>
  1562. <col ref="col42"/>
  1563. <col ref="col43"/>
  1564. <col ref="col44"/>
  1565. <col ref="col45"/>
  1566. <col ref="col46"/>
  1567. <col ref="col47"/>
  1568. <col ref="col48"/>
  1569. <col ref="col49"/>
  1570. <col ref="col50"/>
  1571. <col ref="col51"/>
  1572. <col ref="col52"/>
  1573. <col ref="col53"/>
  1574. <col ref="col54"/>
  1575. <col ref="col55"/>
  1576. <col ref="col56"/>
  1577. <col ref="col57"/>
  1578. <col ref="col58"/>
  1579. <col ref="col59"/>
  1580. <col ref="col60"/>
  1581. <col ref="col61"/>
  1582. <col ref="col62"/>
  1583. <col ref="col63"/>
  1584. <col ref="col64"/>
  1585. <col ref="col65"/>
  1586. <col ref="col66"/>
  1587. <col ref="col67"/>
  1588. <col ref="col68"/>
  1589. <col ref="col69"/>
  1590. <col ref="col70"/>
  1591. <col ref="col71"/>
  1592. <col ref="col72"/>
  1593. <col ref="col73"/>
  1594. <col ref="col74"/>
  1595. <col ref="col75"/>
  1596. <col ref="col76"/>
  1597. <col ref="col77"/>
  1598. <col ref="col78"/>
  1599. <col ref="col79"/>
  1600. <col ref="col80"/>
  1601. <col ref="col81"/>
  1602. <col ref="col82"/>
  1603. <col ref="col83"/>
  1604. <col ref="col84"/>
  1605. <col ref="col85"/>
  1606. <col ref="col86"/>
  1607. <col ref="col87"/>
  1608. <col ref="col88"/>
  1609. <col ref="col89"/>
  1610. <col ref="col90"/>
  1611. <col ref="col91"/>
  1612. <col ref="col92"/>
  1613. <col ref="col93"/>
  1614. <col ref="col94"/>
  1615. <col ref="col95"/>
  1616. <col ref="col96"/>
  1617. <col ref="col97"/>
  1618. <col ref="col98"/>
  1619. <col ref="col99"/>
  1620. <col ref="col100"/>
  1621. <col ref="col101"/>
  1622. <col ref="col102"/>
  1623. <col ref="col103"/>
  1624. <col ref="col104"/>
  1625. <col ref="col105"/>
  1626. <col ref="col106"/>
  1627. <col ref="col107"/>
  1628. <col ref="col108"/>
  1629. <col ref="col109"/>
  1630. <col ref="col110"/>
  1631. <col ref="col111"/>
  1632. <col ref="col112"/>
  1633. <col ref="col113"/>
  1634. <col ref="col114"/>
  1635. <col ref="col115"/>
  1636. <col ref="col116"/>
  1637. <col ref="col117"/>
  1638. <col ref="col118"/>
  1639. <col ref="col119"/>
  1640. <col ref="col120"/>
  1641. <col ref="col121"/>
  1642. <col ref="col122"/>
  1643. <col ref="col123"/>
  1644. <col ref="col124"/>
  1645. <col ref="col125"/>
  1646. <col ref="col126"/>
  1647. <col ref="col127"/>
  1648. <col ref="col128"/>
  1649. <col ref="col129"/>
  1650. <col ref="col130"/>
  1651. <col ref="col131"/>
  1652. <col ref="col132"/>
  1653. <col ref="col133"/>
  1654. <col ref="col134"/>
  1655. <col ref="col135"/>
  1656. <col ref="col136"/>
  1657. <col ref="col137"/>
  1658. <col ref="col138"/>
  1659. <col ref="col139"/>
  1660. <col ref="col140"/>
  1661. <col ref="col141"/>
  1662. <col ref="col142"/>
  1663. <col ref="col143"/>
  1664. <col ref="col144"/>
  1665. <col ref="col145"/>
  1666. <col ref="col146"/>
  1667. <col ref="col147"/>
  1668. <col ref="col148"/>
  1669. <col ref="col149"/>
  1670. <col ref="col150"/>
  1671. <col ref="col151"/>
  1672. <col ref="col152"/>
  1673. <col ref="col153"/>
  1674. <col ref="col154"/>
  1675. <col ref="col155"/>
  1676. <col ref="col156"/>
  1677. <col ref="col157"/>
  1678. <col ref="col158"/>
  1679. <col ref="col159"/>
  1680. <col ref="col160"/>
  1681. <col ref="col161"/>
  1682. <col ref="col162"/>
  1683. <col ref="col163"/>
  1684. <col ref="col164"/>
  1685. <col ref="col165"/>
  1686. <col ref="col166"/>
  1687. <col ref="col167"/>
  1688. <col ref="col168"/>
  1689. <col ref="col169"/>
  1690. <col ref="col170"/>
  1691. <col ref="col171"/>
  1692. <col ref="col172"/>
  1693. <col ref="col173"/>
  1694. <col ref="col174"/>
  1695. <col ref="col175"/>
  1696. <col ref="col176"/>
  1697. <col ref="col177"/>
  1698. <col ref="col178"/>
  1699. <col ref="col179"/>
  1700. <col ref="col180"/>
  1701. <col ref="col181"/>
  1702. <col ref="col182"/>
  1703. <col ref="col183"/>
  1704. <col ref="col184"/>
  1705. <col ref="col185"/>
  1706. <col ref="col186"/>
  1707. <col ref="col187"/>
  1708. <col ref="col188"/>
  1709. <col ref="col189"/>
  1710. <col ref="col190"/>
  1711. <col ref="col191"/>
  1712. <col ref="col192"/>
  1713. <col ref="col193"/>
  1714. <col ref="col194"/>
  1715. <col ref="col195"/>
  1716. <col ref="col196"/>
  1717. <col ref="col197"/>
  1718. <col ref="col198"/>
  1719. <col ref="col199"/>
  1720. <col ref="col200"/>
  1721. <col ref="col201"/>
  1722. <col ref="col202"/>
  1723. <col ref="col203"/>
  1724. <col ref="col204"/>
  1725. <col ref="col205"/>
  1726. <col ref="col206"/>
  1727. <col ref="col207"/>
  1728. <col ref="col208"/>
  1729. </datagrid>
  1730. <!-- 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 1. 질환여부검색 -->
  1731. <datagrid id="datagrid3" nodeset="/root/exceldata/comexceljillist/item" visibility="hidden" caption="no^healexamflag^rsrvdd^rsrvno^cmpycd^sickcd^jugdcd" colsep="^" colwidth="55, 215, 207, 98, 100, 100, 100, 100" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:85px; top:535px; width:350px; height:145px; ">
  1732. <col ref="no"/>
  1733. <col ref="healexamflag"/>
  1734. <col ref="rsrvdd"/>
  1735. <col ref="rsrvno"/>
  1736. <col ref="cmpycd"/>
  1737. <col ref="sickcd"/>
  1738. <col ref="jugdcd"/>
  1739. </datagrid>
  1740. </group>
  1741. <group id="group4" scroll="auto" style="left:0px; top:754px; width:1195px; height:28px; ">
  1742. <button id="btn_prnt" class="btn6_letter6" style="left:0px; top:4px; width:94px; height:22px; ">
  1743. <caption>결과출력(구)</caption>
  1744. <script type="javascript" ev:event="onclick">
  1745. <![CDATA[
  1746. fPrintRslt();
  1747. ]]>
  1748. </script>
  1749. </button>
  1750. <select id="chk_preview" ref="/root/temp/preview" overflow="visible" appearance="full" cols="4" rows="1" style="left:425px; top:7px; width:75px; height:15px; border-style:none; ">
  1751. <choices>
  1752. <item>
  1753. <label>미리보기</label>
  1754. <value>Y</value>
  1755. </item>
  1756. </choices>
  1757. <script type="javascript" ev:event="xforms-select">
  1758. <![CDATA[
  1759. fSetCmpyCtrl(false);
  1760. model.setValue("/root/temp/preview","Y");
  1761. ]]>
  1762. </script>
  1763. <script type="javascript" ev:event="xforms-deselect">
  1764. <![CDATA[
  1765. model.setValue("/root/temp/preview","");
  1766. fSetCmpyCtrl(true);
  1767. ]]>
  1768. </script>
  1769. </select>
  1770. <button id="button1" class="btn6_letter6" style="left:315px; top:4px; width:104px; height:22px; ">
  1771. <caption>단체결과출력</caption>
  1772. <script type="javascript" ev:event="onclick">
  1773. <![CDATA[
  1774. fCmpyColgRsltPrnt();
  1775. ]]>
  1776. </script>
  1777. </button>
  1778. <!-- 수정이력 : 20100401 JHP 질환추가 기본정보를 컬럼을 만들어서 넣어주고 나머지는 코드화해서 가져오기때문에 질환을 추가 하기에는 힘들다 하여 기본정보 넣는것처럼 추가함.-->
  1779. <button id="button2" class="btn6_letter7" style="left:1073px; top:5px; width:116px; height:22px; ">
  1780. <caption>엑셀저장(공통)</caption>
  1781. <script type="javascript" ev:event="onclick">
  1782. <![CDATA[
  1783. model.removenode("/root/main1/titleinfo");
  1784. model.removeNode("/root/exceldata/comexcellst/item");
  1785. model.setValue("/root/send/srchcdgrupid", "S160");
  1786. submit("TRAHR00910");
  1787. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 1. 질환여부검색 시작
  1788. // 선택된 환자들의 질환을 가져온다.
  1789. model.setValue("/root/temp/send2/pid", model.getValue("/root/temp/send/pid"));
  1790. model.setValue("/root/temp/send2/hngnm", model.getValue("/root/temp/send/hngnm"));
  1791. var nodeList2 = instance1.selectNodes(grd_prntlst.nodeset + "[sel='Y']");
  1792. model.setValue("/root/temp/send2/excelparam", getNodeListCSV (nodeList2));
  1793. model.removeNodeset("/root/exceldata/comexceljillist");
  1794. //model.removeNode("/root/exceldata/comexceljillist/item");
  1795. submit("TRAHR00913");
  1796. // 가져온 질환중 환자기준 가장많은수를 판단한다.
  1797. var jilcount = getNodesetCount("/root/exceldata/comexceljillist/item");
  1798. var lastno = model.getValue("/root/exceldata/comexceljillist/item[" + jilcount + "]/no");
  1799. var maxcnt = 0;
  1800. var tno = 0;
  1801. var cnt = 0;
  1802. if(jilcount != 0) {
  1803. for(var j = 1; j <= jilcount; j++){
  1804. var fno = model.getValue("/root/exceldata/comexceljillist/item[" + j + "]/no");
  1805. if(fno == tno){
  1806. cnt++;
  1807. }else{
  1808. tno = fno;
  1809. cnt = 1;
  1810. }
  1811. if(cnt > maxcnt){
  1812. maxcnt = cnt;
  1813. }
  1814. }
  1815. }
  1816. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 1. 질환여부검색 끝
  1817. var icnt = parseInt(getNodesetCount("/root/main1/titleinfo/cmt")) + 1;
  1818. var scaption = "CMPYNM^CONTYPE^FAMYRELACD^PID^HNGNM^RRGSTNO^HOPEDD";
  1819. var k = 0;
  1820. for (var i = 1; i < icnt; i++){
  1821. scaption = scaption + "^" + model.getValue("/root/main1/titleinfo[" + i + "]/cmt");
  1822. k = parseInt(k) + 1;
  1823. }
  1824. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 2. 질환구분자갯수대로셋팅 시작
  1825. var colk = k;
  1826. if(maxcnt != 0){
  1827. for(var m = 1; m <= maxcnt; m++){
  1828. scaption = scaption + "^" + "JIL" + m;
  1829. }
  1830. k = k + maxcnt; // 그리드 컬럼명 증가
  1831. }
  1832. // 기존에 숨겼던거 다시 풀었다가 다시 숨기게끔 한다.
  1833. for (var ii = parseInt(k + 1); ii < 243; ii++){
  1834. datagrid1.colHidden(ii) = false;
  1835. }
  1836. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 2. 질환구분자갯수대로셋팅 끝
  1837. if (k < 242){
  1838. for (var i = parseInt(k + 1); i < 243; i++){
  1839. scaption = scaption + "^" + "";
  1840. datagrid1.colHidden(i + 6) = true;
  1841. }
  1842. }
  1843. //scaption = scaption + "^" + "JUDG";
  1844. scaption = scaption + "^" + "GRADE"+ "^"+"JUDG";
  1845. datagrid1.caption = scaption;
  1846. model.setValue("/root/temp/send0/flag", "com");
  1847. var gubun = "com";
  1848. //datagrid1.colHidden(1) = false;
  1849. //alert("com");
  1850. //alert(datagrid1.colRef("grade"));
  1851. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 2. 질환구분자갯수넘기기 시작
  1852. //fCmpyColgRsltExcel(); // 기존것.. 아무것도 안넘김
  1853. fCmpyColgRsltExcel(maxcnt, colk,gubun); // 질환기준 가장많은질환가진 환자수, 질환시작
  1854. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 2. 질환구분자갯수넘기기 끝
  1855. ]]>
  1856. </script>
  1857. </button>
  1858. <select1 id="rdo_language" ref="/root/temp/language" appearance="full" cols="2" overflow="visible" style="left:525px; top:5px; width:100px; height:20px; border-style:none; ">
  1859. <choices>
  1860. <item>
  1861. <label>한글</label>
  1862. <value>H</value>
  1863. </item>
  1864. <item>
  1865. <label>영문</label>
  1866. <value>E</value>
  1867. </item>
  1868. </choices>
  1869. </select1>
  1870. <button id="button3" class="btn6_letter8" style="left:945px; top:5px; width:116px; height:22px; ">
  1871. <caption>엑셀저장(LG전자)</caption>
  1872. <script type="javascript" ev:event="onclick">
  1873. <![CDATA[
  1874. fCmpyColgRsltLGExcel();
  1875. ]]>
  1876. </script>
  1877. </button>
  1878. <button id="button4" class="btn6_letter6" style="left:105px; top:4px; width:104px; height:22px; ">
  1879. <caption>결과출력(신)</caption>
  1880. <script type="javascript" ev:event="onclick">
  1881. <![CDATA[
  1882. fNewPrintRslt();
  1883. ]]>
  1884. </script>
  1885. </button>
  1886. <button id="button5" class="btn6_letter5" style="left:853px; top:5px; width:92px; height:22px; ">
  1887. <caption>단체업로드</caption>
  1888. <script type="javascript" ev:event="onclick">
  1889. <![CDATA[
  1890. fCmpyUploadText();
  1891. ]]>
  1892. </script>
  1893. </button>
  1894. <button id="button6" class="btn6_letter6" style="left:210px; top:4px; width:104px; height:22px; ">
  1895. <caption>의사소견출력</caption>
  1896. <script type="javascript" ev:event="onclick">
  1897. <![CDATA[
  1898. fDrOpnPrintRslt();
  1899. ]]>
  1900. </script>
  1901. </button>
  1902. <button id="button7" class="btn6_letter7" style="left:735px; top:5px; width:116px; height:22px; ">
  1903. <caption>엑셀저장(자동)</caption>
  1904. <script type="javascript" ev:event="onclick">
  1905. <![CDATA[
  1906. model.removenode("/root/main1/titleinfo");
  1907. model.removeNode("/root/exceldata/comexcellst/item");
  1908. model.setValue("/root/send/srchcdgrupid", "S160");
  1909. submit("TRAHR00910");
  1910. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 1. 질환여부검색 시작
  1911. // 선택된 환자들의 질환을 가져온다.
  1912. model.setValue("/root/temp/send2/pid", model.getValue("/root/temp/send/pid"));
  1913. model.setValue("/root/temp/send2/hngnm", model.getValue("/root/temp/send/hngnm"));
  1914. var nodeList2 = instance1.selectNodes(grd_prntlst.nodeset + "[sel='Y']");
  1915. model.setValue("/root/temp/send2/excelparam", getNodeListCSV (nodeList2));
  1916. model.removeNodeset("/root/exceldata/comexceljillist");
  1917. //model.removeNode("/root/exceldata/comexceljillist/item");
  1918. submit("TRAHR00913");
  1919. // 가져온 질환중 환자기준 가장많은수를 판단한다.
  1920. var jilcount = getNodesetCount("/root/exceldata/comexceljillist/item");
  1921. var lastno = model.getValue("/root/exceldata/comexceljillist/item[" + jilcount + "]/no");
  1922. var maxcnt = 0;
  1923. var tno = 0;
  1924. var cnt = 0;
  1925. if(jilcount != 0) {
  1926. for(var j = 1; j <= jilcount; j++){
  1927. var fno = model.getValue("/root/exceldata/comexceljillist/item[" + j + "]/no");
  1928. if(fno == tno){
  1929. cnt++;
  1930. }else{
  1931. tno = fno;
  1932. cnt = 1;
  1933. }
  1934. if(cnt > maxcnt){
  1935. maxcnt = cnt;
  1936. }
  1937. }
  1938. }
  1939. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 1. 질환여부검색 끝
  1940. var icnt = parseInt(getNodesetCount("/root/main1/titleinfo/cmt")) + 1;
  1941. var scaption = "CMPYNM^CONTYPE^FAMYRELACD^PID^HNGNM^RRGSTNO^HOPEDD";
  1942. var k = 0;
  1943. for (var i = 1; i < icnt; i++){
  1944. scaption = scaption + "^" + model.getValue("/root/main1/titleinfo[" + i + "]/cmt");
  1945. k = parseInt(k) + 1;
  1946. }
  1947. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 2. 질환구분자갯수대로셋팅 시작
  1948. var colk = k;
  1949. if(maxcnt != 0){
  1950. for(var m = 1; m <= maxcnt; m++){
  1951. scaption = scaption + "^" + "JIL" + m;
  1952. }
  1953. k = k + maxcnt; // 그리드 컬럼명 증가
  1954. }
  1955. // 기존에 숨겼던거 다시 풀었다가 다시 숨기게끔 한다.
  1956. for (var ii = parseInt(k + 1); ii < 243; ii++){
  1957. datagrid1.colHidden(ii) = false;
  1958. }
  1959. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 2. 질환구분자갯수대로셋팅 끝
  1960. if (k < 242){
  1961. for (var i = parseInt(k + 1); i < 243; i++){
  1962. scaption = scaption + "^" + "";
  1963. datagrid1.colHidden(i + 6) = true;
  1964. }
  1965. }
  1966. scaption = scaption + "^" + "GRADE"+ "^"+"JUDG";
  1967. datagrid1.caption = scaption;
  1968. model.setValue("/root/temp/send0/flag", "auto");
  1969. var gubun = "auto";
  1970. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 2. 질환구분자갯수넘기기 시작
  1971. //fCmpyColgRsltExcel(); // 기존것.. 아무것도 안넘김
  1972. fCmpyColgRsltExcel(maxcnt, colk,gubun); // 질환기준 가장많은질환가진 환자수, 질환시작
  1973. // 수정이력 : 추가 20100401 JHP 질환이 있으면 추가 해주기위해서 필요함. 2. 질환구분자갯수넘기기 끝
  1974. ]]>
  1975. </script>
  1976. </button>
  1977. </group>
  1978. <datagrid id="datagrid1" nodeset="/root/exceldata/comexcellst/item" visibility="hidden" caption="CMPYNM^CONTYPE^FAMYRELACD^PID^HNGNM^RRGSTNO^HOPEDD^VHBD1^VHBD2^VHBD3^VHBD4^VHBD6^VHBD7^VHBD8^VHBD9^VHBD5^JAH0001^VHEY1^VHEY2^VHEY3^VHEY4^VHEY17^VHEY8^VHEY9^FE667002^FE6752^VHEA3-1^VHEA3-2^VHEA3-3^VHEA3-4^VHEA3-5^VHEA3-6^VHEA4-1^VHEA4-2^VHEA4-3^VHEA4-4^VHEA4-5^VHEA4-6^VHEA3^VHEA4^VHEA1^VHEA2^FF634101^FF6361^VHFF6001-1^VHFF6001-2^VHFF6001-3^VHFF6001-4^VHFF6001-5^VHFFRESULT^FF6001^VHBP1^VHBP2^VHBP3^FE6541^LHR102^LHR103^LHR100^LHR10501^LHR10503^LHR10504^LHR10505^LHR10506^LHR101^LHR10801^LHR10802^LHR10803^LHR106^LHR107^LHR10701^LHR10702^LHR104^LHR113^LCR134^LCR135^LHR001^LHR10002^LHR105^LHR108^LUR003^LUR105^LUR102^LUR108^LUR106^LUR100^LUR109^LUR101^LUR104^LUR107^LUR103^LUR112^LUR11201^LUR11202^LUR11204^LCR100^LCT100^LCR127^LCR130^LCR131^LCR132^LCR133^LCR122^LIR102^LCR112^LCR113^LCR114^LCR125^LCR126^LCR109^LCR110^VHAGAP^VHAGRATIO^LCR118^LCR119^LCR121^LCR116^LCR117^LCR120^LCR123^LCR107^LCR108^LCR124^LIR104^LET112^LET109^LET116^LIR120^LIR121^NC7581^LIR122^LIR161^LIR123^LIR129^LEC101^LEC117^NC7423^NNM0001^NC7424^NC7433^NC7428^LUP102^LUP10001^LUP10002^LUP10003^LUP10004^LUP10005^LUP10006^LUP10007^LUP10008^LUP10009^LUP10101^LUP10102^LUP10103^LUP10104^LUP10105^LUP10106^LUP10107^VHCGRE^PCY10006^RGG270201G^RGG210114G^RRDU035^GE761101G^RSHA010G^GE766002G^RSHA03202G^RRDU047^RRDU026^RRDU074^NHC34201^RMCU003^FE654303G^GE758101^RRDU005^RRDU069^RCHA43412G^PCY20001^RMHE10101G^RMHE20101G^RMHE10905G^RMGE11101G^RMHE13501G^RMGE13602G^RMHE23603G^LOS124^NHZ331G^NHZ333G^NHZ33401G^PMO07001^RCHA46101G^RCHA47417G^RCHA47507G^RCHA47510G^RCHA47519G^RCHA47601G^RCHA47610G^NC7326^NC7348^NC7350^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18^caption19^caption20^caption21^caption22^caption23^caption24^caption25^caption26^caption27^caption28^caption29^caption30^caption31^caption32^caption33^caption34^caption35^caption36^caption37^caption38^caption39^caption40^caption41^caption42^caption43^caption44^caption45^caption46^caption47^caption48^caption49^caption50^GRADE^JUDG^JUDGD" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:405px; top:440px; width:640px; height:195px; ">
  1979. <col ref="cmpynm"/>
  1980. <col ref="contype"/>
  1981. <col ref="famyrelacd"/>
  1982. <col ref="pid"/>
  1983. <col ref="hngnm"/>
  1984. <col ref="rrgstno"/>
  1985. <col ref="hopedd"/>
  1986. <col ref="data1"/>
  1987. <col ref="data2"/>
  1988. <col ref="data3"/>
  1989. <col ref="data4"/>
  1990. <col ref="data5"/>
  1991. <col ref="data6"/>
  1992. <col ref="data7"/>
  1993. <col ref="data8"/>
  1994. <col ref="data9"/>
  1995. <col ref="data10"/>
  1996. <col ref="data11"/>
  1997. <col ref="data12"/>
  1998. <col ref="data13"/>
  1999. <col ref="data14"/>
  2000. <col ref="data15"/>
  2001. <col ref="data16"/>
  2002. <col ref="data17"/>
  2003. <col ref="data18"/>
  2004. <col ref="data19"/>
  2005. <col ref="data20"/>
  2006. <col ref="data21"/>
  2007. <col ref="data22"/>
  2008. <col ref="data23"/>
  2009. <col ref="data24"/>
  2010. <col ref="data25"/>
  2011. <col ref="data26"/>
  2012. <col ref="data27"/>
  2013. <col ref="data28"/>
  2014. <col ref="data29"/>
  2015. <col ref="data30"/>
  2016. <col ref="data31"/>
  2017. <col ref="data32"/>
  2018. <col ref="data33"/>
  2019. <col ref="data34"/>
  2020. <col ref="data35"/>
  2021. <col ref="data36"/>
  2022. <col ref="data37"/>
  2023. <col ref="data38"/>
  2024. <col ref="data39"/>
  2025. <col ref="data40"/>
  2026. <col ref="data41"/>
  2027. <col ref="data42"/>
  2028. <col ref="data43"/>
  2029. <col ref="data44"/>
  2030. <col ref="data45"/>
  2031. <col ref="data46"/>
  2032. <col ref="data47"/>
  2033. <col ref="data48"/>
  2034. <col ref="data49"/>
  2035. <col ref="data50"/>
  2036. <col ref="data51"/>
  2037. <col ref="data52"/>
  2038. <col ref="data53"/>
  2039. <col ref="data54"/>
  2040. <col ref="data55"/>
  2041. <col ref="data56"/>
  2042. <col ref="data57"/>
  2043. <col ref="data58"/>
  2044. <col ref="data59"/>
  2045. <col ref="data60"/>
  2046. <col ref="data61"/>
  2047. <col ref="data62"/>
  2048. <col ref="data63"/>
  2049. <col ref="data64"/>
  2050. <col ref="data65"/>
  2051. <col ref="data66"/>
  2052. <col ref="data67"/>
  2053. <col ref="data68"/>
  2054. <col ref="data69"/>
  2055. <col ref="data70"/>
  2056. <col ref="data71"/>
  2057. <col ref="data72"/>
  2058. <col ref="data73"/>
  2059. <col ref="data74"/>
  2060. <col ref="data75"/>
  2061. <col ref="data76"/>
  2062. <col ref="data77"/>
  2063. <col ref="data78"/>
  2064. <col ref="data79"/>
  2065. <col ref="data80"/>
  2066. <col ref="data81"/>
  2067. <col ref="data82"/>
  2068. <col ref="data83"/>
  2069. <col ref="data84"/>
  2070. <col ref="data85"/>
  2071. <col ref="data86"/>
  2072. <col ref="data87"/>
  2073. <col ref="data88"/>
  2074. <col ref="data89"/>
  2075. <col ref="data90"/>
  2076. <col ref="data91"/>
  2077. <col ref="data92"/>
  2078. <col ref="data93"/>
  2079. <col ref="data94"/>
  2080. <col ref="data95"/>
  2081. <col ref="data96"/>
  2082. <col ref="data97"/>
  2083. <col ref="data98"/>
  2084. <col ref="data99"/>
  2085. <col ref="data100"/>
  2086. <col ref="data101"/>
  2087. <col ref="data102"/>
  2088. <col ref="data103"/>
  2089. <col ref="data104"/>
  2090. <col ref="data105"/>
  2091. <col ref="data106"/>
  2092. <col ref="data107"/>
  2093. <col ref="data108"/>
  2094. <col ref="data109"/>
  2095. <col ref="data110"/>
  2096. <col ref="data111"/>
  2097. <col ref="data112"/>
  2098. <col ref="data113"/>
  2099. <col ref="data114"/>
  2100. <col ref="data115"/>
  2101. <col ref="data116"/>
  2102. <col ref="data117"/>
  2103. <col ref="data118"/>
  2104. <col ref="data119"/>
  2105. <col ref="data120"/>
  2106. <col ref="data121"/>
  2107. <col ref="data122"/>
  2108. <col ref="data123"/>
  2109. <col ref="data124"/>
  2110. <col ref="data125"/>
  2111. <col ref="data126"/>
  2112. <col ref="data127"/>
  2113. <col ref="data128"/>
  2114. <col ref="data129"/>
  2115. <col ref="data130"/>
  2116. <col ref="data131"/>
  2117. <col ref="data132"/>
  2118. <col ref="data133"/>
  2119. <col ref="data134"/>
  2120. <col ref="data135"/>
  2121. <col ref="data136"/>
  2122. <col ref="data137"/>
  2123. <col ref="data138"/>
  2124. <col ref="data139"/>
  2125. <col ref="data140"/>
  2126. <col ref="data141"/>
  2127. <col ref="data142"/>
  2128. <col ref="data143"/>
  2129. <col ref="data144"/>
  2130. <col ref="data145"/>
  2131. <col ref="data146"/>
  2132. <col ref="data147"/>
  2133. <col ref="data148"/>
  2134. <col ref="data149"/>
  2135. <col ref="data150"/>
  2136. <col ref="data151"/>
  2137. <col ref="data152"/>
  2138. <col ref="data153"/>
  2139. <col ref="data154"/>
  2140. <col ref="data155"/>
  2141. <col ref="data156"/>
  2142. <col ref="data157"/>
  2143. <col ref="data158"/>
  2144. <col ref="data159"/>
  2145. <col ref="data160"/>
  2146. <col ref="data161"/>
  2147. <col ref="data162"/>
  2148. <col ref="data163"/>
  2149. <col ref="data164"/>
  2150. <col ref="data165"/>
  2151. <col ref="data166"/>
  2152. <col ref="data167"/>
  2153. <col ref="data168"/>
  2154. <col ref="data169"/>
  2155. <col ref="data170"/>
  2156. <col ref="data171"/>
  2157. <col ref="data172"/>
  2158. <col ref="data173"/>
  2159. <col ref="data174"/>
  2160. <col ref="data175"/>
  2161. <col ref="data176"/>
  2162. <col ref="data177"/>
  2163. <col ref="data178"/>
  2164. <col ref="data179"/>
  2165. <col ref="data180"/>
  2166. <col ref="data181"/>
  2167. <col ref="data182"/>
  2168. <col ref="data183"/>
  2169. <col ref="data184"/>
  2170. <col ref="data185"/>
  2171. <col ref="data186"/>
  2172. <col ref="data187"/>
  2173. <col ref="data188"/>
  2174. <col ref="data189"/>
  2175. <col ref="data190"/>
  2176. <col ref="data191"/>
  2177. <col ref="data192"/>
  2178. <col ref="data193"/>
  2179. <col ref="data194"/>
  2180. <col ref="data195"/>
  2181. <col ref="data196"/>
  2182. <col ref="data197"/>
  2183. <col ref="data198"/>
  2184. <col ref="data199"/>
  2185. <col ref="data200"/>
  2186. <col ref="data201"/>
  2187. <col ref="data202"/>
  2188. <col ref="data203"/>
  2189. <col ref="data204"/>
  2190. <col ref="data205"/>
  2191. <col ref="data206"/>
  2192. <col ref="data207"/>
  2193. <col ref="data208"/>
  2194. <col ref="data209"/>
  2195. <col ref="data210"/>
  2196. <col ref="data211"/>
  2197. <col ref="data212"/>
  2198. <col ref="data213"/>
  2199. <col ref="data214"/>
  2200. <col ref="data215"/>
  2201. <col ref="data216"/>
  2202. <col ref="data217"/>
  2203. <col ref="data218"/>
  2204. <col ref="data219"/>
  2205. <col ref="data220"/>
  2206. <col ref="data221"/>
  2207. <col ref="data222"/>
  2208. <col ref="data223"/>
  2209. <col ref="data224"/>
  2210. <col ref="data225"/>
  2211. <col ref="data226"/>
  2212. <col ref="data227"/>
  2213. <col ref="data228"/>
  2214. <col ref="data229"/>
  2215. <col ref="data230"/>
  2216. <col ref="data231"/>
  2217. <col ref="data232"/>
  2218. <col ref="data233"/>
  2219. <col ref="data234"/>
  2220. <col ref="data235"/>
  2221. <col ref="data236"/>
  2222. <col ref="data237"/>
  2223. <col ref="data238"/>
  2224. <col ref="data239"/>
  2225. <col ref="data240"/>
  2226. <col ref="data241"/>
  2227. <col ref="data242"/>
  2228. <col ref="grade"/>
  2229. <col ref="judg" savetype="text" maxbyte="2000"/>
  2230. <col ref="judgd"/>
  2231. <script type="javascript" ev:event="onclick">
  2232. <![CDATA[
  2233. alert(datagrid1.col + " --- " + datagrid1.row);
  2234. ]]>
  2235. </script>
  2236. </datagrid>
  2237. </xhtml:body>
  2238. </xhtml:html>